From be21c1478fdea79c7f28892bba69e217f6ba356a Mon Sep 17 00:00:00 2001 From: Sven Augustin Date: Wed, 24 Jan 2024 10:56:44 +0100 Subject: [PATCH] stop pylint complaining about test --- sf_daq_broker/return_status.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sf_daq_broker/return_status.py b/sf_daq_broker/return_status.py index ad7b2ef..4123b55 100644 --- a/sf_daq_broker/return_status.py +++ b/sf_daq_broker/return_status.py @@ -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"}