Home | History | Annotate | Download | only in dynamic_suite

Lines Matching refs:tools

7 """Unit tests for server/cros/dynamic_suite/tools.py."""
16 from autotest_lib.server.cros.dynamic_suite import tools
21 """Unit tests for dynamic_suite tools module methods.
63 self.assertTrue(find_all_in(v, tools.inject_vars(v, '')))
64 self.assertTrue(find_all_in(v, tools.inject_vars(v, 'ctrl')))
65 control_file = tools.inject_vars(v, 'sample')
66 self.assertTrue(tools._INJECT_BEGIN in control_file)
67 self.assertTrue(tools._INJECT_END in control_file)
81 control_file = tools.remove_injection(control_file)
94 control_file = tools.remove_legacy_injection(control_file)
96 control_file = tools.remove_injection(control_file)
103 self.assertTrue(tools.incorrectly_locked(host))
109 self.mox.StubOutWithMock(tools, 'infrastructure_user')
110 tools.infrastructure_user().AndReturn(infra_user)
113 self.assertFalse(tools.incorrectly_locked(host))