diff --git a/watcher_tempest_plugin/tests/api/admin/base.py b/watcher_tempest_plugin/tests/api/admin/base.py index e7f37fe..5373623 100644 --- a/watcher_tempest_plugin/tests/api/admin/base.py +++ b/watcher_tempest_plugin/tests/api/admin/base.py @@ -171,7 +171,7 @@ class BaseInfraOptimTest(test.BaseTestCase): :param audit_template_uuid: Audit Template UUID this audit will use :param audit_type: Audit type (either ONESHOT or CONTINUOUS) :param state: Audit state (str) - :param interval: Audit interval in seconds (int) + :param interval: Audit interval in seconds or cron syntax (str) :return: A tuple with The HTTP response and its body """ resp, body = cls.client.create_audit( diff --git a/watcher_tempest_plugin/tests/api/admin/test_audit.py b/watcher_tempest_plugin/tests/api/admin/test_audit.py index 2222950..13a187e 100644 --- a/watcher_tempest_plugin/tests/api/admin/test_audit.py +++ b/watcher_tempest_plugin/tests/api/admin/test_audit.py @@ -63,7 +63,7 @@ class TestCreateUpdateDeleteAudit(base.BaseInfraOptimTest): audit_params = dict( audit_template_uuid=audit_template['uuid'], audit_type='CONTINUOUS', - interval=7200, + interval='7200', ) _, body = self.create_audit(**audit_params)