Test unittest with isNot assert, to see if it matters

This commit is contained in:
Griatch 2024-04-07 10:16:11 +02:00
parent 6dd9442cef
commit 2b1524b5d9

View file

@ -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")