def testEmptyString(self): with self.assertRaises(SystemExit) as e: ekeyword.main(['', os.path.join(TESTDIR, 'process-1.ebuild')]) self.assertNotEqual(e.exception.code, os.EX_OK)
def testVersion(self): with self.assertRaises(SystemExit) as e: ekeyword.main(['--version', '--dry-run']) self.assertEqual(e.exception.code, os.EX_OK)
def testSmoke(self): ekeyword.main( ['arm', '--dry-run', os.path.join(TESTDIR, 'process-1.ebuild')])
def testSmoke(self): ekeyword.main(['arm', '--dry-run', os.path.join(TESTDIR, 'process-1.ebuild')])