#6177 ca-less test are broken - invalid usage of ipautil.run
Closed: Fixed None Opened 7 years ago 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:

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

ipa-4-3:

  • 42d3ec3 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

7 years ago

Login to comment on this ticket.

Metadata