Searched refs:ExitException (Results 1 – 6 of 6) sorted by relevance
/external/autotest/cli/ |
D | acl_unittest.py | 43 sys.exit.expect_call(1).and_raises(cli_mock.ExitException) 44 self.assertRaises(cli_mock.ExitException, acl_list.parse) 152 sys.exit.expect_call(1).and_raises(cli_mock.ExitException) 153 self.assertRaises(cli_mock.ExitException, acls.parse) 163 sys.exit.expect_call(1).and_raises(cli_mock.ExitException) 164 self.assertRaises(cli_mock.ExitException, acls.parse) 173 sys.exit.expect_call(1).and_raises(cli_mock.ExitException) 174 self.assertRaises(cli_mock.ExitException, acls.parse) 273 sys.exit.expect_call(1).and_raises(cli_mock.ExitException) 274 self.assertRaises(cli_mock.ExitException, acls.parse)
|
D | cli_mock.py | 21 class ExitException(Exception): class 175 sys.exit.expect_call(exit_code).and_raises(ExitException) 176 self.assertRaises(ExitException, atest.main)
|
D | topic_common_unittest.py | 334 sys.exit.expect_call(1).and_raises(cli_mock.ExitException) 335 self.assertRaises(cli_mock.ExitException, 423 sys.exit.expect_call(1).and_raises(cli_mock.ExitException) 424 self.assertRaises(cli_mock.ExitException, 434 sys.exit.expect_call(1).and_raises(cli_mock.ExitException) 435 self.assertRaises(cli_mock.ExitException, 744 sys.exit.expect_call(1).and_raises(cli_mock.ExitException) 745 self.assertRaises(cli_mock.ExitException, 785 sys.exit.expect_call(1).and_raises(cli_mock.ExitException) 786 self.assertRaises(cli_mock.ExitException,
|
D | job_unittest.py | 215 .and_raises(cli_mock.ExitException)) 216 self.assertRaises(cli_mock.ExitException, testjob.parse) 837 .and_raises(cli_mock.ExitException)) 838 self.assertRaises(cli_mock.ExitException, testjob.parse) 849 .and_raises(cli_mock.ExitException)) 850 self.assertRaises(cli_mock.ExitException, testjob.parse) 862 .and_raises(cli_mock.ExitException)) 863 self.assertRaises(cli_mock.ExitException, testjob.parse) 885 .and_raises(cli_mock.ExitException)) 886 self.assertRaises(cli_mock.ExitException, testjob.parse)
|
D | action_common_unittest.py | 79 sys.exit.expect_call(1).and_raises(cli_mock.ExitException) 81 self.assertRaises(cli_mock.ExitException, 365 sys.exit.expect_call(1).and_raises(cli_mock.ExitException) 367 self.assertRaises(cli_mock.ExitException, acl_addrm.execute)
|
D | host_unittest.py | 29 sys.exit.expect_call(1).and_raises(cli_mock.ExitException) 31 self.assertRaises(cli_mock.ExitException,
|