NBISweden / beacon-api-tests

Compliance tester and test cases for Beacons.
GNU General Public License v3.0
1 stars 1 forks source link

Running error after the new update #40

Closed KyleGao closed 4 years ago

KyleGao commented 4 years ago

After the latest update, got the following errors. When revert to the last version, the error goes away.

$ python beacon_api_tester.py --host sv 
INFO: Running api tests...
Traceback (most recent call last):
  File "beacon_api_tester.py", line 85, in <module>
    utils.setup.Settings().set_args(c_args)
  File "/Users/gaobo/Desktop/projects/Beacon_Test/beacon-api-tests/utils/setup.py", line 72, in set_args
    for pathname in c_args.test:
TypeError: 'NoneType' object is not iterable
MalinAhlberg commented 4 years ago

Oh, I think the documentation is a bit outdated, sorry about that! Try python beacon_api_tester.py --host http://localhost:5050 --test tests/test-v101-counts.yaml. Let me know if it still doesn't work! I'll create an issue about updating the documentation.

KyleGao commented 4 years ago

Now it works, thx!