mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Update test_search.py
This commit is contained in:
parent
975c38c0af
commit
10a543d023
1 changed files with 1 additions and 2 deletions
|
|
@ -47,5 +47,4 @@ class TestSearch(EvenniaTest):
|
|||
script, errors = DefaultScript.create("a-script")
|
||||
script.db.an_attribute = "some value"
|
||||
found = search_script_attribute(key="an_attribute", value="wrong value")
|
||||
self.assertEqual(len(found), 1, errors)
|
||||
self.assertEqual(script.key, found[0].key, errors)
|
||||
self.assertEqual(len(found), 0, errors)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue