diff options
author | Tomas Babej <tbabej@redhat.com> | 2014-12-15 11:29:05 +0100 |
---|---|---|
committer | Petr Viktorin <pviktori@redhat.com> | 2014-12-16 12:20:44 +0100 |
commit | 3507bcd3dfe2b0f1e7fae6f219a925ec6904ab47 (patch) | |
tree | db4c9ee52787d26087ea6a16cb8d82b45f2c5c22 /ipatests/test_integration/test_caless.py | |
parent | c5c9d49706d27455c7f7bdb811108d45deb82bf4 (diff) | |
download | freeipa-3507bcd3dfe2b0f1e7fae6f219a925ec6904ab47.tar.gz freeipa-3507bcd3dfe2b0f1e7fae6f219a925ec6904ab47.tar.xz freeipa-3507bcd3dfe2b0f1e7fae6f219a925ec6904ab47.zip |
ipatests: Invoke class install methods properly with respect to pytest-multihost
Multihost object was is not passed to the install method in the super construction.
This fixes setup errors in AD Trust, Forced client reenrollment, CALess and Sudo
tests.
https://fedorahosted.org/freeipa/ticket/4809
Reviewed-By: Petr Viktorin <pviktori@redhat.com>
Diffstat (limited to 'ipatests/test_integration/test_caless.py')
-rw-r--r-- | ipatests/test_integration/test_caless.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ipatests/test_integration/test_caless.py b/ipatests/test_integration/test_caless.py index 426a4ad54..9cfba3ee2 100644 --- a/ipatests/test_integration/test_caless.py +++ b/ipatests/test_integration/test_caless.py @@ -68,7 +68,7 @@ def assert_error(result, stderr_text, returncode=None): class CALessBase(IntegrationTest): @classmethod def install(cls, mh): - super(CALessBase, cls).install() + super(CALessBase, cls).install(mh) cls.cert_dir = tempfile.mkdtemp(prefix="ipatest-") cls.pem_filename = os.path.join(cls.cert_dir, 'root.pem') scriptfile = os.path.join(os.path.dirname(__file__), @@ -1145,8 +1145,8 @@ class TestClientInstall(CALessBase): class TestIPACommands(CALessBase): @classmethod - def install(cls): - super(TestIPACommands, cls).install() + def install(cls, mh): + super(TestIPACommands, cls).install(mh) cls.export_pkcs12('ca1/server') with open(cls.pem_filename, 'w') as f: |