diff options
author | BonfaceKilz | 2020-07-26 23:04:29 +0300 |
---|---|---|
committer | BonfaceKilz | 2020-07-26 23:04:29 +0300 |
commit | 5a63137af7e383bbae867c4385c42cacf0d78b8e (patch) | |
tree | 288803c918879bb63722fdf0054d672f13988d7b /test/unittest/base/test_general_object.py | |
parent | f66da35a09cbb8da13cfb142cbe3ff208404970b (diff) | |
download | genenetwork2-5a63137af7e383bbae867c4385c42cacf0d78b8e.tar.gz |
Delete tests/unittests folder
* tests/unittests: Delete it. All unittests were moved to wqflask/tests in
3d6483e8
Diffstat (limited to 'test/unittest/base/test_general_object.py')
-rw-r--r-- | test/unittest/base/test_general_object.py | 21 |
1 files changed, 0 insertions, 21 deletions
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") |