mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Fix unittest for postgres ordering
This commit is contained in:
parent
c4a9e620e9
commit
b086e95e19
1 changed files with 4 additions and 2 deletions
|
|
@ -630,8 +630,10 @@ class TestPrototypeStorage(EvenniaTest):
|
|||
|
||||
# partial match
|
||||
with mock.patch("evennia.prototypes.prototypes._MODULE_PROTOTYPES", {}):
|
||||
self.assertEqual(list(protlib.search_prototype("prot")), [prot1b, prot2, prot3])
|
||||
self.assertEqual(list(protlib.search_prototype(tags="foo1")), [prot1b, prot2, prot3])
|
||||
self.assertEqual(
|
||||
set(protlib.search_prototype("prot")), set([prot1b, prot2, prot3]))
|
||||
self.assertEqual(
|
||||
set(protlib.search_prototype(tags="foo1")), set([prot1b, prot2, prot3]))
|
||||
|
||||
self.assertTrue(str(str(protlib.list_prototypes(self.char1))))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue