mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-28 16:07:05 +00:00
test(ci): isolate scheduled alert self-test
This commit is contained in:
@@ -444,6 +444,7 @@ class SelfTests(unittest.TestCase):
|
|||||||
mock.patch(__name__ + ".check_fuzz_targets", return_value=[]),
|
mock.patch(__name__ + ".check_fuzz_targets", return_value=[]),
|
||||||
mock.patch(__name__ + ".check_runner_selection", return_value=[]),
|
mock.patch(__name__ + ".check_runner_selection", return_value=[]),
|
||||||
mock.patch(__name__ + ".check_profile_definitions", return_value=[]),
|
mock.patch(__name__ + ".check_profile_definitions", return_value=[]),
|
||||||
|
mock.patch(__name__ + ".check_scheduled_alerts", return_value=[]),
|
||||||
):
|
):
|
||||||
self.assertEqual(len(validate(root)), 1)
|
self.assertEqual(len(validate(root)), 1)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user