Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
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
Léo-Paul Géneau
slapos.core
Commits
f4c8c60e
Commit
f4c8c60e
authored
Jul 16, 2015
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup! [slapos.collect] Collect temperature and report consumption
parent
4a7154b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
slapos/tests/collect.py
slapos/tests/collect.py
+3
-1
No files found.
slapos/tests/collect.py
View file @
f4c8c60e
...
...
@@ -79,7 +79,7 @@ class TestCollectDatabase(unittest.TestCase):
database
.
connect
()
try
:
self
.
assertEquals
(
[
u'user'
,
u'computer'
,
u'system'
,
u'disk'
],
[
u'user'
,
u'computer'
,
u'system'
,
u'disk'
,
u'temperature'
,
u'heating'
],
database
.
getTableList
())
finally
:
database
.
close
()
...
...
@@ -258,6 +258,8 @@ class TestCollectReport(unittest.TestCase):
csv_path_list
=
[
'%s/1983-01-10/dump_disk.csv'
%
self
.
instance_root
,
'%s/1983-01-10/dump_computer.csv'
%
self
.
instance_root
,
'%s/1983-01-10/dump_user.csv'
%
self
.
instance_root
,
'%s/1983-01-10/dump_heating.csv'
%
self
.
instance_root
,
'%s/1983-01-10/dump_temperature.csv'
%
self
.
instance_root
,
'%s/1983-01-10/dump_system.csv'
%
self
.
instance_root
]
self
.
assertEquals
(
set
(
glob
.
glob
(
"%s/1983-01-10/*.csv"
%
self
.
instance_root
)),
...
...
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