Home
last modified time | relevance | path

Searched refs:ExitException (Results 1 – 6 of 6) sorted by relevance

/external/autotest/cli/
Dacl_unittest.py43 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)
Dcli_mock.py21 class ExitException(Exception): class
175 sys.exit.expect_call(exit_code).and_raises(ExitException)
176 self.assertRaises(ExitException, atest.main)
Dtopic_common_unittest.py334 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,
Djob_unittest.py215 .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)
Daction_common_unittest.py79 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)
Dhost_unittest.py29 sys.exit.expect_call(1).and_raises(cli_mock.ExitException)
31 self.assertRaises(cli_mock.ExitException,