fixed yet another issue with tests :(
This commit is contained in:
parent
243af26bf6
commit
a8ce970ca0
@ -90,7 +90,7 @@ def test_args_handler():
|
|||||||
|
|
||||||
args = argparse.Namespace(url=None, version=False)
|
args = argparse.Namespace(url=None, version=False)
|
||||||
reply = cli.args_handler(args)
|
reply = cli.args_handler(args)
|
||||||
assert "Specify an URL" in reply
|
assert ("waybackpy %s \nSee 'waybackpy --help" % (__version__)) == reply
|
||||||
|
|
||||||
def test_main():
|
def test_main():
|
||||||
# This also tests the parse_args method in cli.py
|
# This also tests the parse_args method in cli.py
|
||||||
|
Loading…
Reference in New Issue
Block a user