mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
one last case just in case
This commit is contained in:
parent
d05fa6aeec
commit
4690dfaf20
1 changed files with 4 additions and 0 deletions
|
|
@ -419,6 +419,10 @@ class TestObjectManager(BaseEvenniaTest):
|
|||
copied2.key = "CopyMe01"
|
||||
copied3 = self.obj1.copy()
|
||||
self.assertEqual(copied3.key, "CopyMe02")
|
||||
# and that nothing breaks if something in the room doesn't share the prefix
|
||||
copied3.key = "NotACopy"
|
||||
copied4 = self.obj1.copy()
|
||||
self.assertEqual(copied4.key, "CopyMe02")
|
||||
|
||||
|
||||
def test_copy_object_no_location(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue