#8590 Nightly test failure in test_integration/test_krbtpolicy.py::TestPWPolicy::test_krbtpolicy_default::setup
Closed: fixed a year ago by frenaud. Opened a year ago by frenaud.

The nightly test test_integration/test_krbtpolicy.py::TestPWPolicy::test_krbtpolicy_default::setup started failing on the master branch after this commit.

See for instance the nightly PR 538, with logs and report:

self = <ipatests.test_integration.test_krbtpolicy.TestPWPolicy object at 0x7f9de360e8b0>

    @pytest.fixture(autouse=True, scope="class")
    def with_admin(self):
>       tasks.kinit_admin(self.master)
E       AttributeError: 'TestPWPolicy' object has no attribute 'master'

test_integration/test_krbtpolicy.py:72: AttributeError

@rharwood could you have a look? I suspect the fixture is called too early, before the mh fixture that is defined here and sets the master attribute.

Ah, I guess this was missed because CI was broken at the time due to something else. I will look into it, thanks!

Metadata Update from @frenaud:
- Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/5281
- Issue assigned to rharwood

a year ago

master:

ipa-4-8:

ipa-4-9:

Metadata Update from @frenaud:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

a year ago

Login to comment on this ticket.

Metadata