OLD | NEW |
---|---|
(Empty) | |
1 import common | |
2 from autotest_lib.client.common_lib import enum, utils | |
3 | |
4 | |
5 def _site_host_actions_dummy(): | |
6 return [] | |
7 | |
8 _site_host_actions = utils.import_site_function( | |
9 __file__, 'autotest_lib.frontend.planner.site_failure_actions', | |
10 'site_host_actions', _site_host_actions_dummy) | |
11 | |
12 HostAction = enum.Enum( | |
13 string_values=True, | |
14 *(_site_host_actions() + ['Block', 'Unblock', 'Reinstall'])) | |
15 | |
16 | |
17 TestAction = enum.Enum('Skip', 'Rerun', string_values=True) | |
OLD | NEW |