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
38de0c85
Commit
38de0c85
authored
Aug 18, 2014
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos.package.test: Fix typo
parent
f782d791
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
slapos/package/test/test_base_promise.py
slapos/package/test/test_base_promise.py
+2
-2
No files found.
slapos/package/test/test_base_promise.py
View file @
38de0c85
...
...
@@ -179,7 +179,7 @@ class testBasePromiseCase(unittest.TestCase):
def
testIsAplicable
(
self
):
from
slapos.package.promise
import
core
,
limit
s
from
slapos.package.promise
import
core
,
limit
conf
def
fake_debian_getOSSignature
():
return
"debian+++7.4+++"
...
...
@@ -189,7 +189,7 @@ class testBasePromiseCase(unittest.TestCase):
self
.
assertEquals
(
promise
.
isApplicable
(),
True
)
promise
=
limit
s
.
Promise
(
Values
(
self
.
config_dict
))
promise
=
limit
conf
.
Promise
(
Values
(
self
.
config_dict
))
promise
.
getOSSignature
=
fake_debian_getOSSignature
self
.
assertEquals
(
promise
.
isApplicable
(),
False
)
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