Skip to content
Snippets Groups Projects
Verified Commit 963f230a authored by Antoine Lambert's avatar Antoine Lambert
Browse files

test_rpc_client: Fix flake8 warnings

parent d5e92857
No related branches found
No related tags found
No related merge requests found
......@@ -30,20 +30,24 @@ class ReraiseException(Exception):
def rpc_client_class(requests_mock):
class TestStorage:
@remote_api_endpoint("test_endpoint_url")
def test_endpoint(self, test_data, db=None, cur=None): ...
def test_endpoint(self, test_data, db=None, cur=None):
pass
@remote_api_endpoint("path/to/endpoint")
def something(self, data, db=None, cur=None): ...
def something(self, data, db=None, cur=None):
pass
@remote_api_endpoint("serializer_test")
def serializer_test(self, data, db=None, cur=None): ...
def serializer_test(self, data, db=None, cur=None):
pass
@remote_api_endpoint("overridden/endpoint")
def overridden_method(self, data):
return "foo"
@remote_api_endpoint("request_too_large")
def request_too_large(self, data, db=None, cur=None): ...
def request_too_large(self, data, db=None, cur=None):
pass
class Testclient(RPCClient):
backend_class = TestStorage
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment