From a8ce970ca0b848bbc618450c7ea7b9c88fa5ac1b Mon Sep 17 00:00:00 2001 From: Akash Mahanty Date: Fri, 2 Oct 2020 23:01:59 +0530 Subject: [PATCH] fixed yet another issue with tests :( --- tests/test_cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_cli.py b/tests/test_cli.py index dfe0f09..6a48169 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -90,7 +90,7 @@ def test_args_handler(): args = argparse.Namespace(url=None, version=False) reply = cli.args_handler(args) - assert "Specify an URL" in reply + assert ("waybackpy %s \nSee 'waybackpy --help" % (__version__)) == reply def test_main(): # This also tests the parse_args method in cli.py