mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-02 10:03:05 +00:00
chore: fix mote A violations in tests and scripts
This commit is contained in:
@@ -133,8 +133,8 @@ def test_FtRestClient_call_invalid(caplog):
|
||||
)
|
||||
def test_FtRestClient_call_explicit_methods(method, args, kwargs):
|
||||
client, mock = get_rest_client()
|
||||
exec = getattr(client, method)
|
||||
exec(*args, **kwargs)
|
||||
executor = getattr(client, method)
|
||||
executor(*args, **kwargs)
|
||||
assert mock.call_count == 1
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user