tests: Tags are now deserialized into sets

This commit is contained in:
Tomas Babej 2015-12-27 02:56:59 +01:00
parent 353c700815
commit 0b91eab70b
3 changed files with 8 additions and 8 deletions

View file

@ -142,8 +142,8 @@ class TestChooseTag(IntegrationTest):
for task in self.tasks:
task.refresh()
assert self.tasks[0]['tags'] == ["home"]
assert self.tasks[1]['tags'] == ["home"]
assert self.tasks[0]['tags'] == set(["home"])
assert self.tasks[1]['tags'] == set(["home"])
class TestChooseTagCancelled(IntegrationTest):
@ -178,6 +178,6 @@ class TestChooseTagCancelled(IntegrationTest):
for task in self.tasks:
task.refresh()
assert self.tasks[0]['tags'] == ["home"]
assert self.tasks[0]['tags'] == set(["home"])
assert self.tasks[1]['project'] == None