def test_run_bad_command(self): p = utils.run('suname') self.assertEqual(1 if utils.IS_WIN else 127, p.returncode)
def test_run(self): p = utils.run('uname') self.assertEqual(0, p.returncode)
def setUp(self): super(TestInstall, self).setUp() self.runner = clicktest.CliRunner() self.packager = wagon.Wagon(TEST_PACKAGE, verbose=True) utils.run('virtualenv test_env') self.archive_path = self.packager.create(force=True)
def test_run_bad_command(self): p = utils.run('suname') self.assertEqual(1 if utils.IS_WIN else 127, p.returncode)
def test_run(self): p = utils.run('uname') self.assertEqual(0, p.returncode)
def setUp(self): super(TestInstall, self).setUp() self.runner = clicktest.CliRunner() self.packager = wagon.Wagon(TEST_PACKAGE, verbose=True) utils.run('virtualenv test_env') self.archive_path = self.packager.create(force=True)