We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a87c9dc commit 21b23e0Copy full SHA for 21b23e0
1 file changed
tests/test_main.py
@@ -8,15 +8,18 @@
8
9
10
def test_app1():
11
+ """Test if the app raises an error when the access key is not provided."""
12
result = runner.invoke(app, ["--access_key"], input="123456\n")
13
assert result.exit_code == 2
14
15
16
def test_app2():
17
+ """Test if the app raises an error when the secret key is not provided."""
18
result = runner.invoke(app, ["--secret_key"], input=None)
19
20
21
22
def test_app3():
23
+ """Test if the app raises an error when the host URL is not provided."""
24
result = runner.invoke(app, ["--host"], input="https://localhost:8834\n")
25
0 commit comments