Changeset 11949 for main/waeup.kofa/branches/henrik-regista/src/waeup/ikoba/utils/tests/test_utils.py
- Timestamp:
- 13 Nov 2014, 14:40:27 (10 years ago)
- Location:
- main/waeup.kofa/branches/henrik-regista/src/waeup/ikoba
- Files:
-
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/branches/henrik-regista/src/waeup/ikoba/utils/tests/test_utils.py
r11821 r11949 21 21 import sys 22 22 import unittest 23 from waeup. kofa.interfaces import IKofaUtils24 from waeup. kofa.utils.utils import KofaUtils23 from waeup.ikoba.interfaces import IIkobaUtils 24 from waeup.ikoba.utils.utils import IkobaUtils 25 25 from zope.interface import verify 26 26 27 27 28 class KofaUtilsTestCase(unittest.TestCase):28 class IkobaUtilsTestCase(unittest.TestCase): 29 29 30 30 def setUp(self): … … 36 36 # Helper: get a `KofUtil` instance with all values of 37 37 # SYSTEM_MAX_LOAD dict set to ``None`` 38 util = KofaUtils()38 util = IkobaUtils() 39 39 for key, val in util.SYSTEM_MAX_LOAD.items(): 40 40 util.SYSTEM_MAX_LOAD[key] = None … … 42 42 43 43 def test_iface(self): 44 # KofaUtils fullfill IKofaUtils expectations45 utils = KofaUtils()46 verify.verifyClass(I KofaUtils, KofaUtils)47 verify.verifyObject(I KofaUtils, utils)44 # IkobaUtils fullfill IIkobaUtils expectations 45 utils = IkobaUtils() 46 verify.verifyClass(IIkobaUtils, IkobaUtils) 47 verify.verifyObject(IIkobaUtils, utils) 48 48 49 49 def test_expensive_actions_allowed_swap_none(self):
Note: See TracChangeset for help on using the changeset viewer.