diff options
author | Sol Jerome <sol.jerome@gmail.com> | 2013-06-08 19:28:49 -0500 |
---|---|---|
committer | Sol Jerome <sol.jerome@gmail.com> | 2013-06-08 19:28:49 -0500 |
commit | 20a30233260a842f13408d0a8a8c23d1e7707a1b (patch) | |
tree | 6d40455a78c8ab3d17eac6810d67f1935e520e21 | |
parent | 59cfdff12d3f2374496636d8369165e331e6a3ec (diff) | |
download | bcfg2-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>
-rw-r--r-- | testsuite/Testsrc/Testlib/TestClient/TestTools/TestPOSIX/Testbase.py | 2 |
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) |