Commit ab1148d2 authored by Jérome Perrin's avatar Jérome Perrin

slaprunner test wip

parent 837e35a7
......@@ -61,6 +61,7 @@ def setUpModule():
class InstanceTestCase(SlapOSInstanceTestCase):
debug = SLAPOS_TEST_DEBUG
ignore_promise_during_instanciation = True # XXX because of monitor promise
@classmethod
def getSoftwareURL(cls):
return SLAPOS_TEST_SOFTWARE_URL
......@@ -93,7 +94,7 @@ class ServicesTestCase(InstanceTestCase):
'supervisord-{hash}-on-watch',
]
supervisor = self.getSupervisorRPCServer().supervisor
with self.getSupervisorRPC() as supervisor:
process_names = [process['name']
for process in supervisor.getAllProcessInfo()]
......@@ -105,3 +106,14 @@ class ServicesTestCase(InstanceTestCase):
expected_process_name = name.format(hash=h)
self.assertIn(expected_process_name, process_names)
class Test(ServicesTestCase):
def test_x(self):
self.assertEqual(1, 2)
def test_xx(self):
self.assertEqual(1, 2)
def test_xxxx(self):
self.assertEqual(1, 2)
def test_xxxxx(self):
self.assertEqual(1, 2)
\ No newline at end of file
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