Commit 06f01fd6 authored by Łukasz Nowak's avatar Łukasz Nowak

monitor: Flake8ize test

parent 52238194
...@@ -194,7 +194,7 @@ class EdgeMixin(object): ...@@ -194,7 +194,7 @@ class EdgeMixin(object):
with open(info_dict['status-cron']) as fh: with open(info_dict['status-cron']) as fh:
self.assertEqual( self.assertEqual(
'*/2 * * * * %s' % (info_dict['status-json'],), '*/2 * * * * %s' % (info_dict['status-json'],),
fh.read().strip() fh.read().strip()
) )
def initiateSurykatkaRun(self): def initiateSurykatkaRun(self):
...@@ -563,7 +563,7 @@ class TestNodeMonitoring(SlapOSInstanceTestCase): ...@@ -563,7 +563,7 @@ class TestNodeMonitoring(SlapOSInstanceTestCase):
'promise_free_disk_space_nb_days_predicted': 10, 'promise_free_disk_space_nb_days_predicted': 10,
'promise_free_disk_space_display_partition': True, 'promise_free_disk_space_display_partition': True,
'promise_free_disk_space_display_prediction': True, 'promise_free_disk_space_display_prediction': True,
})} })}
@classmethod @classmethod
def getInstanceSoftwareType(cls): def getInstanceSoftwareType(cls):
......
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