mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Test unittest with isNot assert, to see if it matters
This commit is contained in:
parent
6dd9442cef
commit
2b1524b5d9
1 changed files with 1 additions and 1 deletions
|
|
@ -268,7 +268,7 @@ class TestComponents(EvenniaTest):
|
|||
|
||||
def test_mutables_are_not_shared_when_autocreate(self):
|
||||
self.char1.test_a.my_list.append(1)
|
||||
self.assertNotEqual(id(self.char1.test_a.my_list), id(self.char2.test_a.my_list))
|
||||
self.assertIsNot(self.char1.test_a.my_list, self.char2.test_a.my_list)
|
||||
|
||||
def test_replacing_class_component_slot_with_runtime_component(self):
|
||||
self.char1.components.add_default("replacement_inherited_test_a")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue