def test_env_location(self): env = Environment() env.setLocation(Location('virtual')) with self.assertRaises(ValueError): env.setLocation('foobar')
def test_env_location(self): env = Environment() env.setLocation(Location('virtual')) with self.assertRaises(ValueError): env.setLocation('foobar')