Cleanup tests

This commit is contained in:
Jakub Roztocil
2016-03-03 18:47:12 +08:00
parent 529981af7a
commit 4e574e6b8e
7 changed files with 273 additions and 255 deletions

View File

@ -154,7 +154,7 @@ class TestQuerystring:
assert '"url": "%s"' % url in r
class TestURLshorthand:
class TestLocalhostShorthand:
def test_expand_localhost_shorthand(self):
args = parser.parse_args(args=[':'], env=TestEnvironment())
assert args.url == 'http://localhost'