Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Titouan Soulard
slapos
Commits
06f01fd6
Commit
06f01fd6
authored
Mar 06, 2023
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
monitor: Flake8ize test
parent
52238194
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
software/monitor/test/test.py
software/monitor/test/test.py
+2
-2
No files found.
software/monitor/test/test.py
View file @
06f01fd6
...
@@ -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
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment