correctly test output when timeout value is not integer
This commit is contained in:
parent
75aa9a2994
commit
d953c13203
2 changed files with 8 additions and 1 deletions
5
tests/samples/output/main_test_good_config_file
Normal file
5
tests/samples/output/main_test_good_config_file
Normal file
|
@ -0,0 +1,5 @@
|
|||
Traceback (most recent call last):
|
||||
File "{file}", line 228, in parseArguments
|
||||
args.timeout = int(configs.get('settings', 'timeout'))
|
||||
ValueError: invalid literal for int() with base 10: 'abc'
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue