summaryrefslogtreecommitdiffstats
path: root/testsuite/Testsrc/Testlib/TestServer/TestPlugin
diff options
context:
space:
mode:
authorSol Jerome <sol.jerome@gmail.com>2012-10-15 14:27:32 -0500
committerSol Jerome <sol.jerome@gmail.com>2012-10-15 14:27:32 -0500
commit7aae23bea73af6a7ba19f1353b2089738b2841e9 (patch)
tree4911568449db927602fb00b0a3c39c3c4c7248dc /testsuite/Testsrc/Testlib/TestServer/TestPlugin
parent92509f22ef81e86bc5443d879ac974f1e0784f72 (diff)
downloadbcfg2-7aae23bea73af6a7ba19f1353b2089738b2841e9.tar.gz
bcfg2-7aae23bea73af6a7ba19f1353b2089738b2841e9.tar.bz2
bcfg2-7aae23bea73af6a7ba19f1353b2089738b2841e9.zip
testsuite: Fix more 'mode' tests
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Diffstat (limited to 'testsuite/Testsrc/Testlib/TestServer/TestPlugin')
-rw-r--r--testsuite/Testsrc/Testlib/TestServer/TestPlugin/Testhelpers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/Testsrc/Testlib/TestServer/TestPlugin/Testhelpers.py b/testsuite/Testsrc/Testlib/TestServer/TestPlugin/Testhelpers.py
index b16f1a1a2..e48507a57 100644
--- a/testsuite/Testsrc/Testlib/TestServer/TestPlugin/Testhelpers.py
+++ b/testsuite/Testsrc/Testlib/TestServer/TestPlugin/Testhelpers.py
@@ -1699,7 +1699,7 @@ class TestEntrySet(TestDebuggable):
idata = ["owner:owner",
"group: GROUP",
- "perms: 775",
+ "mode: 775",
"important: true",
"bogus: line"]
mock_open.return_value.readlines.return_value = idata
@@ -1707,7 +1707,7 @@ class TestEntrySet(TestDebuggable):
expected = DEFAULT_FILE_METADATA.copy()
expected['owner'] = 'owner'
expected['group'] = 'GROUP'
- expected['perms'] = '0775'
+ expected['mode'] = '0775'
expected['important'] = 'true'
self.assertItemsEqual(eset.metadata,
expected)