tests: Add cases with spaces to to_args coverage

This commit is contained in:
Tomas Babej 2015-03-24 21:49:50 +01:00
parent 9a856d9660
commit 7de0fad097

View file

@ -15,6 +15,8 @@ def test_modstring_to_args():
assert util.tw_modstring_to_args("project:Random") == ["project:Random"] assert util.tw_modstring_to_args("project:Random") == ["project:Random"]
assert util.tw_modstring_to_args("project:Random area:admin") == ["project:Random", "area:admin"] assert util.tw_modstring_to_args("project:Random area:admin") == ["project:Random", "area:admin"]
assert util.tw_modstring_to_args("project:Random +test") == ["project:Random", "+test"] assert util.tw_modstring_to_args("project:Random +test") == ["project:Random", "+test"]
assert util.tw_modstring_to_args("project:Random +test") == ["project:Random", "+test"]
assert util.tw_modstring_to_args("project:Random due:now") == ["project:Random", "due:now"]
assert util.tw_modstring_to_args("project:'Random +test'") == ["project:Random +test"] assert util.tw_modstring_to_args("project:'Random +test'") == ["project:Random +test"]
def test_modstring_to_kwargs(): def test_modstring_to_kwargs():