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
Lu Xu
slapos.core
Commits
fa6d8a69
Commit
fa6d8a69
authored
Dec 26, 2018
by
Bryton Lacquement
🚪
Committed by
Thomas Gambier
Dec 26, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo / deprecated `assertEquals`
/reviewed-on
nexedi/slapos.core!85
parent
9d67f32d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
slapos/tests/collect.py
slapos/tests/collect.py
+3
-3
No files found.
slapos/tests/collect.py
View file @
fa6d8a69
...
...
@@ -483,7 +483,7 @@ class TestCollectEntity(unittest.TestCase):
user_dict
=
entity
.
get_user_list
(
config
)
username_set
=
{
'slapuser0'
,
'slapuser1'
,
'slapuser2'
}
self
.
assertEqual
s
(
username_set
,
set
(
user_dict
))
self
.
assertEqual
(
username_set
,
set
(
user_dict
))
for
name
in
username_set
:
self
.
assertEqual
(
user_dict
[
name
].
name
,
name
)
...
...
@@ -532,8 +532,8 @@ class TestCollectEntity(unittest.TestCase):
'memory_rss'
,
'pid'
,
'memory_percent'
,
'io_rw_counter'
,
'insertion_date'
,
'insertion_time'
,
'io_cycles_counter'
,
'cpu_num_threads'
})
self
.
assertEqual
s
(
database
.
invoked_method_list
[
2
],
(
"commit"
,
""
))
self
.
assertEqual
s
(
database
.
invoked_method_list
[
3
],
(
"close"
,
""
))
self
.
assertEqual
(
database
.
invoked_method_list
[
2
],
(
"commit"
,
""
))
self
.
assertEqual
(
database
.
invoked_method_list
[
3
],
(
"close"
,
""
))
self
.
assertEqual
(
database
.
invoked_method_list
[
4
],
(
"connect"
,
""
))
self
.
assertEqual
(
database
.
invoked_method_list
[
5
][
0
],
"inserFolderSnapshot"
)
...
...
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