Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
examplepydebuggingandtesting
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xierzhati Aniwa
examplepydebuggingandtesting
Commits
c92c539b
Commit
c92c539b
authored
May 02, 2019
by
andy.disch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
initial commit
parent
655a8449
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
21 deletions
+6
-21
examplepydebuggingandtesting/exampletesting.py
examplepydebuggingandtesting/exampletesting.py
+0
-0
tests/context.py
tests/context.py
+1
-1
tests/test_sample_entropy.py
tests/test_sample_entropy.py
+0
-18
tests/test_urbanDrainageTS.py
tests/test_urbanDrainageTS.py
+5
-2
No files found.
examplepydebuggingandtesting/example
py
testing.py
→
examplepydebuggingandtesting/exampletesting.py
View file @
c92c539b
File moved
tests/context.py
View file @
c92c539b
...
...
@@ -8,4 +8,4 @@ import sys
sys
.
path
.
insert
(
0
,
os
.
path
.
abspath
(
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
'..'
)))
from
examplepydebuggingandtesting
import
examplepytesting
\ No newline at end of file
from
examplepydebuggingandtesting
import
exampletesting
tests/test_sample_entropy.py
deleted
100644 → 0
View file @
655a8449
#!/usr/bin/python
# -*- coding: utf-8 -*-
"""Example testing functions."""
import
unittest
from
.context
import
examplepytesting
class
NamesTestCase
(
unittest
.
TestCase
):
""" class testing functions. """
def
setUp
(
self
):
"""create simple data sets"""
def
tearDown
(
self
):
"""tear down"""
tests/test_urbanDrainageTS.py
View file @
c92c539b
...
...
@@ -6,7 +6,7 @@
import
unittest
import
datetime
from
.context
import
example
py
testing
from
.context
import
exampletesting
class
TestUrbanDrainageTS
(
unittest
.
TestCase
):
...
...
@@ -23,7 +23,10 @@ class TestUrbanDrainageTS(unittest.TestCase):
value
=
[
6.789
,
4.567
,
9.09
,
6.70
,
8.70
,
3.4
,
2.3
,
4.56
,
2.78
]
self
.
test_case
=
examplepytesting
.
UrbanDrainageTS
(
time
,
value
)
self
.
test_case
=
exampletesting
.
UrbanDrainageTS
(
time
,
value
)
def
tearDown
(
self
):
"""tear down"""
class
TestInit
(
TestUrbanDrainageTS
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment