Commit 5b1d0f11 authored by Łukasz Nowak's avatar Łukasz Nowak

Check that no changes has been made on FS.

parent 3d4453f9
......@@ -81,6 +81,9 @@ class MasterMixin(BasicMixin):
class TestSlapgridCPWithMaster(MasterMixin, unittest.TestCase):
def assertSortedListEqual(self, list1, list2, msg=None):
self.assertListEqual(sorted(list1), sorted(list2), msg)
def test_nothing_to_do(self):
def server_response(self, path, method, body, header):
......@@ -101,3 +104,5 @@ class TestSlapgridCPWithMaster(MasterMixin, unittest.TestCase):
os.mkdir(self.software_root)
os.mkdir(self.instance_root)
self.assertTrue(self.grid.processComputerPartitionList())
self.assertSortedListEqual(os.listdir(self.instance_root), ['etc', 'var'])
self.assertSortedListEqual(os.listdir(self.software_root), [])
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