Commit c92c539b authored by andy.disch's avatar andy.disch

initial commit

parent 655a8449
......@@ -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
#!/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"""
......@@ -6,7 +6,7 @@
import unittest
import datetime
from .context import examplepytesting
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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment