Add extra unittest

This commit is contained in:
Griatch 2020-05-18 20:28:30 +02:00
parent ad1169d900
commit ece9dd6b1d

View file

@ -137,3 +137,12 @@ class TestTypedObjectManager(EvenniaTest):
),
[self.obj1],
)
def test_get_tag_withnomatch(self):
self.obj1.tags.add("tagC", "categoryC")
self.assertEqual(
self._manager(
"get_by_tag", ["tagA", "tagB"], ["categoryA", "categoryB"], match="any"
),
[],
)