mirror of
https://github.com/tbabej/taskwiki.git
synced 2025-08-19 06:43:06 +02:00
tests: Tags are now deserialized into sets
This commit is contained in:
parent
353c700815
commit
0b91eab70b
3 changed files with 8 additions and 8 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue