[blivet:master 4/9] Make sure _state_functions is a dictionary in base class

mulhern amulhern at redhat.com
Thu Apr 3 17:32:09 UTC 2014


Signed-off-by: mulhern <amulhern at redhat.com>
---
 tests/devices_test.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/devices_test.py b/tests/devices_test.py
index 8a93c44..e821ff0 100644
--- a/tests/devices_test.py
+++ b/tests/devices_test.py
@@ -27,7 +27,7 @@ class DeviceStateTestCase(unittest.TestCase):
     """
 
     def setUp(self):
-        self._state_functions = []
+        self._state_functions = {}
 
     def stateCheck(self, device, **kwargs):
         """Checks the current state of a device by means of its
-- 
1.8.3.1



More information about the anaconda-patches mailing list