aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPjotr Prins2020-07-27 09:13:38 +0100
committerGitHub2020-07-27 09:13:38 +0100
commit56ad14434435133b9ef90870f50a52bd158bd6ba (patch)
tree16e0936453576a1c73ea4eff1ae959a32a98348e /test
parent918dcce5f42fcbe9327eb30bac06a69000a1fc8b (diff)
parent68bd586b05ae5f3cb90829d2a108901b5b1d87a6 (diff)
downloadgenenetwork2-56ad14434435133b9ef90870f50a52bd158bd6ba.tar.gz
Merge branch 'testing' into testing
Diffstat (limited to 'test')
-rw-r--r--test/unittest/__init__.py0
-rw-r--r--test/unittest/base/__init__.py0
-rw-r--r--test/unittest/base/test_general_object.py21
3 files changed, 0 insertions, 21 deletions
diff --git a/test/unittest/__init__.py b/test/unittest/__init__.py
deleted file mode 100644
index e69de29b..00000000
--- a/test/unittest/__init__.py
+++ /dev/null
diff --git a/test/unittest/base/__init__.py b/test/unittest/base/__init__.py
deleted file mode 100644
index e69de29b..00000000
--- a/test/unittest/base/__init__.py
+++ /dev/null
diff --git a/test/unittest/base/test_general_object.py b/test/unittest/base/test_general_object.py
deleted file mode 100644
index 699cb079..00000000
--- a/test/unittest/base/test_general_object.py
+++ /dev/null
@@ -1,21 +0,0 @@
-import unittest
-
-from base.GeneralObject import GeneralObject
-
-
-class TestGeneralObjectTests(unittest.TestCase):
- """
- Test the GeneralObject base class
- """
-
- def test_object_contents(self):
- """Test whether base contents are stored properly"""
- test_obj = GeneralObject("a", "b", "c")
- self.assertEqual("abc", ''.join(test_obj.contents))
-
- def test_object_dict(self):
- """Test whether the base class is printed properly"""
- test_obj = GeneralObject("a", name="test", value=1)
- self.assertEqual(str(test_obj), "value = 1\nname = test\n")
- self.assertEqual(
- repr(test_obj), "value = 1\nname = test\ncontents = ['a']\n")