Fix of unittest to account for mysql/psql variations

This commit is contained in:
Griatch 2020-08-31 19:38:57 +02:00
parent d022c9c7bc
commit 451c45d20b
2 changed files with 2 additions and 2 deletions

View file

@ -159,7 +159,7 @@ class TestCreateMessage(EvenniaTest):
locks=locks,
tags=tags,
)
self.assertEqual(msg.receivers, [self.char1, self.char2])
self.assertEqual(set(msg.receivers), set([self.char1, self.char2]))
self.assertTrue(all(lock in msg.locks.all() for lock in locks.split(";")))
self.assertEqual(msg.tags.all(), tags)