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