Commit 38de0c85 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos.package.test: Fix typo

parent f782d791
...@@ -179,7 +179,7 @@ class testBasePromiseCase(unittest.TestCase): ...@@ -179,7 +179,7 @@ class testBasePromiseCase(unittest.TestCase):
def testIsAplicable(self): def testIsAplicable(self):
from slapos.package.promise import core, limits from slapos.package.promise import core, limitconf
def fake_debian_getOSSignature(): def fake_debian_getOSSignature():
return "debian+++7.4+++" return "debian+++7.4+++"
...@@ -189,7 +189,7 @@ class testBasePromiseCase(unittest.TestCase): ...@@ -189,7 +189,7 @@ class testBasePromiseCase(unittest.TestCase):
self.assertEquals(promise.isApplicable(), True) self.assertEquals(promise.isApplicable(), True)
promise = limits.Promise(Values(self.config_dict)) promise = limitconf.Promise(Values(self.config_dict))
promise.getOSSignature = fake_debian_getOSSignature promise.getOSSignature = fake_debian_getOSSignature
self.assertEquals(promise.isApplicable(), False) self.assertEquals(promise.isApplicable(), False)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment