formatting change. replaced setuptools with poetry

This commit is contained in:
Eddy Hintze
2024-07-31 19:59:58 -04:00
parent e6fa9e93ee
commit 623a64d501
12 changed files with 1037 additions and 251 deletions

View File

@@ -4,13 +4,13 @@ from humblebundle_downloader.cli import parse_args
def test_old_action_format():
with pytest.raises(DeprecationWarning):
_ = parse_args(['download', '-l', 'some_path', '-c', 'fake_cookie'])
_ = parse_args(["download", "-l", "some_path", "-c", "fake_cookie"])
def test_no_action():
args = parse_args(['-l', 'some_path', '-c', 'fake_cookie'])
assert args.library_path == 'some_path'
assert args.cookie_file == 'fake_cookie'
args = parse_args(["-l", "some_path", "-c", "fake_cookie"])
assert args.library_path == "some_path"
assert args.cookie_file == "fake_cookie"
def test_no_args():