summaryrefslogtreecommitdiffstats
path: root/testsuite/Testsrc
diff options
context:
space:
mode:
authorSol Jerome <sol.jerome@gmail.com>2013-06-08 19:28:49 -0500
committerSol Jerome <sol.jerome@gmail.com>2013-06-08 19:28:49 -0500
commit20a30233260a842f13408d0a8a8c23d1e7707a1b (patch)
tree6d40455a78c8ab3d17eac6810d67f1935e520e21 /testsuite/Testsrc
parent59cfdff12d3f2374496636d8369165e331e6a3ec (diff)
downloadbcfg2-20a30233260a842f13408d0a8a8c23d1e7707a1b.tar.gz
bcfg2-20a30233260a842f13408d0a8a8c23d1e7707a1b.tar.bz2
bcfg2-20a30233260a842f13408d0a8a8c23d1e7707a1b.zip
testsuite: Fix tests for python 3
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Diffstat (limited to 'testsuite/Testsrc')
-rw-r--r--testsuite/Testsrc/Testlib/TestClient/TestTools/TestPOSIX/Testbase.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/Testsrc/Testlib/TestClient/TestTools/TestPOSIX/Testbase.py b/testsuite/Testsrc/Testlib/TestClient/TestTools/TestPOSIX/Testbase.py
index 49e9be2ba..e0406fd92 100644
--- a/testsuite/Testsrc/Testlib/TestClient/TestTools/TestPOSIX/Testbase.py
+++ b/testsuite/Testsrc/Testlib/TestClient/TestTools/TestPOSIX/Testbase.py
@@ -897,7 +897,7 @@ class TestPOSIXTool(TestTool):
filedef_rv.__iter__.return_value = iter(file_acls)
defacls = acls
- for akey, perms in acls.items():
+ for akey, perms in list(acls.items()):
defacls[('default', akey[1], akey[2])] = perms
self.assertItemsEqual(ptool._list_file_acls(path), defacls)
mock_isdir.assert_called_with(path)