mirror of
https://github.com/paulscherrerinstitute/sf_daq_broker.git
synced 2026-08-12 06:20:28 +02:00
stop pylint complaining about test
This commit is contained in:
@@ -59,7 +59,7 @@ if __name__ == "__main__":
|
||||
|
||||
assert test_str_works(123) == {"status": "ok", "message": "test works 123"}
|
||||
assert test_str_fails(123) == {"status": "failed", "message": "test fails 123"}
|
||||
assert test_str_works() == {"status": "failed", "message": "test_str_works() missing 1 required positional argument: 'x'"}
|
||||
assert test_str_works() == {"status": "failed", "message": "test_str_works() missing 1 required positional argument: 'x'"} # pylint: disable=no-value-for-parameter
|
||||
|
||||
assert test_dict_nostatus() == {"status": "ok", "message": "already a dict"}
|
||||
assert test_dict_status() == {"status": "stat", "message": "already a dict"}
|
||||
|
||||
Reference in New Issue
Block a user