from .support import OpenAPITest


class OpenAPIPluginsTest(OpenAPITest):
    def test_get_history(self):
        op = self.resources["History"].get_history
        self.request.path = {"bucket_id": "b1"}
        self.validate_request_call(op)

    def test_delete_history(self):
        op = self.resources["History"].delete_history
        self.request.path = {"bucket_id": "b1"}
        self.validate_request_call(op)
