def test_options_fail(self): options = lvhd.parse_options(['stg.py']) self.assertTrue(options.failed)
def test_options_fail(self): options = lvhd.parse_options(['stg.py']) self.assertTrue(options.failed)
def test_options_ok(self): options = lvhd.parse_options( ['stg.py', '--xapi-url=http://localhost/']) self.assertFalse(options.failed)
def test_options_ok(self): options = lvhd.parse_options( ['stg.py', '--xapi-url=http://localhost/']) self.assertFalse(options.failed)