summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2015-06-11 16:56:07 +0200
committerJan Pokorný <jpokorny@redhat.com>2015-06-19 17:32:28 +0200
commit5a4124119dc4c89c8f9123f4b5e6344dae86d4ca (patch)
tree644f0e4a89c5f4baa83d23207a5d9c31d75b9a91 /tests
parentb0e68ce4bcb3d380576d5dfa8a123cf64fd4a7d4 (diff)
downloadclufter-5a4124119dc4c89c8f9123f4b5e6344dae86d4ca.tar.gz
clufter-5a4124119dc4c89c8f9123f4b5e6344dae86d4ca.tar.xz
clufter-5a4124119dc4c89c8f9123f4b5e6344dae86d4ca.zip
commands/ccs2pcscmd-flatiron: introduce "guidance" ensuring sanity
... first check being that pcs commands after "auth" are run from actual intended cluster node. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/filters/ccspcmk2pcscmd.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/filters/ccspcmk2pcscmd.py b/tests/filters/ccspcmk2pcscmd.py
index 9642439..f6702d8 100644
--- a/tests/filters/ccspcmk2pcscmd.py
+++ b/tests/filters/ccspcmk2pcscmd.py
@@ -20,7 +20,8 @@ ccs = ccspcmk2pcscmd.in_format
class FiltersCcspcmk2pcscmdTestCase(TestCase):
def testConversion(self):
in_obj = ccs('file', join(dirname(dirname(__file__)), 'filled.conf'))
- ret = ccspcmk2pcscmd(in_obj, pcscmd_verbose=False, pcscmd_noauth=True)
+ ret = ccspcmk2pcscmd(in_obj, pcscmd_verbose=False, pcscmd_noauth=True,
+ pcscmd_noguidance=True)
#print ret.BYTESTRING()
self.assertEquals(
ret.BYTESTRING(),