Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
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
Ivan Tyagov
slapos.package
Commits
db06e9d5
Commit
db06e9d5
authored
Aug 25, 2014
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix wrong test
parent
dc16be4c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
slapos/package/test/test_promise_core.py
slapos/package/test/test_promise_core.py
+4
-4
No files found.
slapos/package/test/test_promise_core.py
View file @
db06e9d5
...
@@ -253,18 +253,18 @@ reboot = 2100-11-11
...
@@ -253,18 +253,18 @@ reboot = 2100-11-11
self
.
assertEquals
(
promise
.
checkConsistency
(
fixit
=
1
),
True
)
self
.
assertEquals
(
promise
.
checkConsistency
(
fixit
=
1
),
True
)
self
.
maxDiff
=
None
self
.
maxDiff
=
None
_today
=
datetime
.
datetime
.
today
().
strftime
(
"%Y-%m-%d"
)
expected_message_list
=
[
expected_message_list
=
[
'Expected Reboot early them 2011-10-10'
,
'Expected Reboot early them 2011-10-10'
,
'Expected Upgrade early them %s'
%
\
'Expected Upgrade early them %s'
%
_today
,
datetime
.
datetime
.
today
().
strftime
(
"%Y-%m-%d"
),
'Last reboot : 2100-11-11'
,
'Last reboot : 2100-11-11'
,
'Last upgrade : 1999-11-11'
,
'Last upgrade : 1999-11-11'
,
'Upgrade is required.'
,
'Upgrade is required.'
,
'Retrying after fixConsistency....
\
n
\
n
'
,
'Retrying after fixConsistency....
\
n
\
n
'
,
'Expected Reboot early them 2011-10-10'
,
'Expected Reboot early them 2011-10-10'
,
'Expected Upgrade early them
2014-07-15'
,
'Expected Upgrade early them
%s'
%
_today
,
'Last reboot : 2100-11-11'
,
'Last reboot : 2100-11-11'
,
'Last upgrade :
2014-07-15'
,
'Last upgrade :
%s'
%
_today
,
'Your system is up to date'
,
'Your system is up to date'
,
'No need to reboot.'
,
'No need to reboot.'
,
'No need to reboot.'
]
'No need to reboot.'
]
...
...
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