Skip to content

Commit 21b23e0

Browse files
committed
Add docstrings
1 parent a87c9dc commit 21b23e0

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tests/test_main.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,18 @@
88

99

1010
def test_app1():
11+
"""Test if the app raises an error when the access key is not provided."""
1112
result = runner.invoke(app, ["--access_key"], input="123456\n")
1213
assert result.exit_code == 2
1314

1415

1516
def test_app2():
17+
"""Test if the app raises an error when the secret key is not provided."""
1618
result = runner.invoke(app, ["--secret_key"], input=None)
1719
assert result.exit_code == 2
1820

1921

2022
def test_app3():
23+
"""Test if the app raises an error when the host URL is not provided."""
2124
result = runner.invoke(app, ["--host"], input="https://localhost:8834\n")
2225
assert result.exit_code == 2

0 commit comments

Comments
 (0)