Esempio n. 1
0
 def test_options_fail(self):
     options = lvhd.parse_options(['stg.py'])
     self.assertTrue(options.failed)
Esempio n. 2
0
 def test_options_fail(self):
     options = lvhd.parse_options(['stg.py'])
     self.assertTrue(options.failed)
Esempio n. 3
0
 def test_options_ok(self):
     options = lvhd.parse_options(
         ['stg.py', '--xapi-url=http://localhost/'])
     self.assertFalse(options.failed)
Esempio n. 4
0
 def test_options_ok(self):
     options = lvhd.parse_options(
         ['stg.py', '--xapi-url=http://localhost/'])
     self.assertFalse(options.failed)