#6177 ca-less test are broken - invalid usage of ipautil.run
Closed: Fixed Opened by pvoborni.

There is an ivalid usage of ipautil.run

self = <ipatests.test_integration.test_caless.TestServerInstall object at 0x7fb732e07e10>
    def test_nonexistent_ca_pem_file(self):
        "IPA server install with non-existent CA PEM file "
        self.export_pkcs12('ca1/server')
        with open(self.pem_filename, 'w') as f:
>           f.write(self.get_pem('ca2'))
E           TypeError: expected a string or other character buffer object
test_integration/test_caless.py:338: TypeError

Probably blocks full CA-less test suite


master:

  • 6217d680da5b121ba39e48f8823f21a639261584 ca-less tests: fix getting cert in pem format from nssdb

ipa-4-3:

  • 42d3ec37f5a2692a51cd7db878b7b745d8d4c846 ca-less tests: fix getting cert in pem format from nssdb

Metadata Update from @pvoborni:
- Issue assigned to pvoborni
- Issue set to the milestone: FreeIPA 4.3.3

Metadata