Commit 078a381a authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼

software/kvm: fix test for TestAccessKvmClusterBootstrap

parent bcb3b5ff
...@@ -352,7 +352,13 @@ class TestAccessKvmClusterBootstrap(MonitorAccessMixin, InstanceTestCase): ...@@ -352,7 +352,13 @@ class TestAccessKvmClusterBootstrap(MonitorAccessMixin, InstanceTestCase):
def test(self): def test(self):
connection_parameter_dict = self.computer_partition\ connection_parameter_dict = self.computer_partition\
.getConnectionParameterDict() .getConnectionParameterDict()
result = requests.get(connection_parameter_dict['KVM0-url'], verify=False) result = requests.get(connection_parameter_dict['test-machine1-url'], verify=False)
self.assertEqual(
httplib.OK,
result.status_code
)
self.assertIn('<title>noVNC</title>', result.text)
result = requests.get(connection_parameter_dict['test-machine2-url'], verify=False)
self.assertEqual( self.assertEqual(
httplib.OK, httplib.OK,
result.status_code result.status_code
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment