mirror of
https://github.com/evennia/evennia.git
synced 2026-04-01 21:47:17 +02:00
Added auto-created empty unittest definitions.
This commit is contained in:
parent
440afe6928
commit
bb7b73b7c2
48 changed files with 3577 additions and 0 deletions
44
src/tests/test_utils_create.py
Normal file
44
src/tests/test_utils_create.py
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
import unittest
|
||||
|
||||
class TestHandleDbref(unittest.TestCase):
|
||||
def test_handle_dbref(self):
|
||||
# self.assertEqual(expected, handle_dbref(inp, objclass, raise_errors))
|
||||
assert True # TODO: implement your test here
|
||||
|
||||
class TestCreateObject(unittest.TestCase):
|
||||
def test_create_object(self):
|
||||
# self.assertEqual(expected, create_object(typeclass, key, location, home, permissions, locks, aliases, destination, report_to, nohome))
|
||||
assert True # TODO: implement your test here
|
||||
|
||||
class TestCreateScript(unittest.TestCase):
|
||||
def test_create_script(self):
|
||||
# self.assertEqual(expected, create_script(typeclass, key, obj, player, locks, interval, start_delay, repeats, persistent, autostart, report_to))
|
||||
assert True # TODO: implement your test here
|
||||
|
||||
class TestCreateHelpEntry(unittest.TestCase):
|
||||
def test_create_help_entry(self):
|
||||
# self.assertEqual(expected, create_help_entry(key, entrytext, category, locks))
|
||||
assert True # TODO: implement your test here
|
||||
|
||||
class TestCreateMessage(unittest.TestCase):
|
||||
def test_create_message(self):
|
||||
# self.assertEqual(expected, create_message(senderobj, message, channels, receivers, locks, header))
|
||||
assert True # TODO: implement your test here
|
||||
|
||||
class TestCreateChannel(unittest.TestCase):
|
||||
def test_create_channel(self):
|
||||
# self.assertEqual(expected, create_channel(key, aliases, desc, locks, keep_log, typeclass))
|
||||
assert True # TODO: implement your test here
|
||||
|
||||
class TestCreateTag(unittest.TestCase):
|
||||
def test_create_tag(self):
|
||||
# self.assertEqual(expected, create_tag(self, key, category, data))
|
||||
assert True # TODO: implement your test here
|
||||
|
||||
class TestCreatePlayer(unittest.TestCase):
|
||||
def test_create_player(self):
|
||||
# self.assertEqual(expected, create_player(key, email, password, typeclass, is_superuser, locks, permissions, report_to))
|
||||
assert True # TODO: implement your test here
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
Loading…
Add table
Add a link
Reference in a new issue