Added auto-created empty unittest definitions.
This commit is contained in:
parent
440afe6928
commit
bb7b73b7c2
48 changed files with 3577 additions and 0 deletions
54
src/tests/test_server_caches.py
Normal file
54
src/tests/test_server_caches.py
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
import unittest
|
||||
|
||||
class TestHashid(unittest.TestCase):
|
||||
def test_hashid(self):
|
||||
# self.assertEqual(expected, hashid(obj, suffix))
|
||||
assert True # TODO: implement your test here
|
||||
|
||||
class TestFieldPreSave(unittest.TestCase):
|
||||
def test_field_pre_save(self):
|
||||
# self.assertEqual(expected, field_pre_save(sender, instance, update_fields, raw, **kwargs))
|
||||
assert True # TODO: implement your test here
|
||||
|
||||
class TestFieldPostSave(unittest.TestCase):
|
||||
def test_field_post_save(self):
|
||||
# self.assertEqual(expected, field_post_save(sender, instance, update_fields, raw, **kwargs))
|
||||
assert True # TODO: implement your test here
|
||||
|
||||
class TestGetAttrCache(unittest.TestCase):
|
||||
def test_get_attr_cache(self):
|
||||
# self.assertEqual(expected, get_attr_cache(obj))
|
||||
assert True # TODO: implement your test here
|
||||
|
||||
class TestSetAttrCache(unittest.TestCase):
|
||||
def test_set_attr_cache(self):
|
||||
# self.assertEqual(expected, set_attr_cache(obj, store))
|
||||
assert True # TODO: implement your test here
|
||||
|
||||
class TestGetPropCache(unittest.TestCase):
|
||||
def test_get_prop_cache(self):
|
||||
# self.assertEqual(expected, get_prop_cache(obj, propname))
|
||||
assert True # TODO: implement your test here
|
||||
|
||||
class TestSetPropCache(unittest.TestCase):
|
||||
def test_set_prop_cache(self):
|
||||
# self.assertEqual(expected, set_prop_cache(obj, propname, propvalue))
|
||||
assert True # TODO: implement your test here
|
||||
|
||||
class TestDelPropCache(unittest.TestCase):
|
||||
def test_del_prop_cache(self):
|
||||
# self.assertEqual(expected, del_prop_cache(obj, propname))
|
||||
assert True # TODO: implement your test here
|
||||
|
||||
class TestFlushPropCache(unittest.TestCase):
|
||||
def test_flush_prop_cache(self):
|
||||
# self.assertEqual(expected, flush_prop_cache())
|
||||
assert True # TODO: implement your test here
|
||||
|
||||
class TestGetCacheSizes(unittest.TestCase):
|
||||
def test_get_cache_sizes(self):
|
||||
# self.assertEqual(expected, get_cache_sizes())
|
||||
assert True # TODO: implement your test here
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
Loading…
Add table
Add a link
Reference in a new issue