update version format in tests

This commit is contained in:
Akash Mahanty 2020-10-02 22:23:58 +05:30 committed by GitHub
parent 0f1db94884
commit 243af26bf6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -86,7 +86,7 @@ def test_get():
def test_args_handler():
args = argparse.Namespace(version=True)
reply = cli.args_handler(args)
assert __version__ == reply
assert ("waybackpy version %s" % (__version__)) == reply
args = argparse.Namespace(url=None, version=False)
reply = cli.args_handler(args)