forked from p15670423/monkey
Island, BB: Rename clear_caches endpoint to clear-caches
This commit is contained in:
parent
64fc9f2269
commit
1535832279
|
@ -117,6 +117,6 @@ class MonkeyIslandClient(object):
|
|||
:raises: If error (by error code), raises the error
|
||||
:return: The response
|
||||
"""
|
||||
response = self.requests.get("api/test/clear_caches")
|
||||
response = self.requests.get("api/test/clear-caches")
|
||||
response.raise_for_status()
|
||||
return response
|
||||
|
|
|
@ -165,7 +165,7 @@ def init_api_resources(api):
|
|||
|
||||
# Resources used by black box tests
|
||||
api.add_resource(MonkeyBlackboxEndpoint, "/api/test/monkey")
|
||||
api.add_resource(ClearCaches, "/api/test/clear_caches")
|
||||
api.add_resource(ClearCaches, "/api/test/clear-caches")
|
||||
api.add_resource(LogBlackboxEndpoint, "/api/test/log")
|
||||
api.add_resource(TelemetryBlackboxEndpoint, "/api/test/telemetry")
|
||||
|
||||
|
|
Loading…
Reference in New Issue