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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Nicolas Wavrant
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
self
.
assertEquals
(
promise
.
checkConsistency
(
fixit
=
1
),
True
)
self
.
maxDiff
=
None
_today
=
datetime
.
datetime
.
today
().
strftime
(
"%Y-%m-%d"
)
expected_message_list
=
[
'Expected Reboot early them 2011-10-10'
,
'Expected Upgrade early them %s'
%
\
datetime
.
datetime
.
today
().
strftime
(
"%Y-%m-%d"
),
'Expected Upgrade early them %s'
%
_today
,
'Last reboot : 2100-11-11'
,
'Last upgrade : 1999-11-11'
,
'Upgrade is required.'
,
'Retrying after fixConsistency....
\
n
\
n
'
,
'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 upgrade :
2014-07-15'
,
'Last upgrade :
%s'
%
_today
,
'Your system is up to date'
,
'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