New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Backport][ipa-4-6] Check if issuer DN is updated after self-signed > external-ca #2063
Conversation
Pylint errors:
Before you push a PR, please always run |
Backport of #2049 |
adf3304
to
6330546
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ModuleNotFoundError: No module named 'ipatests.pytest_plugins.integration.create_external_ca.py'; 'ipatests.pytest_plugins.integration.create_external_ca' is not a package
@tiran Hi, we need to move but I am afraid if the path is used in other test suits. what you suggest? |
6330546
to
560a773
Compare
my bad :( fixed. |
def create_ca(self, cn='example.test'): | ||
def __init__(self, days=365): | ||
self.now = datetime.datetime.utcnow() | ||
self.delta = datetime.timedelta(days=days) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
now
and delta
are not used in this branch. Please remove def __init__
again.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed.
Thanks.
This test checks if issuer DN is updated properly after CA is renewed from self-signed to external-ca related ticket: https://pagure.io/freeipa/issue/7316 Signed-off-by: Mohammad Rizwan Yusuf <myusuf@redhat.com> Replaced hardcoded issuer CN for external ca with constant Signed-off-by: Mohammad Rizwan Yusuf <myusuf@redhat.com> Reviewed-By: Christian Heimes <cheimes@redhat.com> Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com>
560a773
to
d3c01fe
Compare
ipa-4-6:
|
This test checks if issuer DN is updated properly after CA is
renewed from self-signed to external-ca
related ticket: https://pagure.io/freeipa/issue/7316
Signed-off-by: Mohammad Rizwan Yusuf myusuf@redhat.com
Replaced hardcoded issuer CN for external ca with constant
Signed-off-by: Mohammad Rizwan Yusuf myusuf@redhat.com
Reviewed-By: Christian Heimes cheimes@redhat.com
Reviewed-By: Florence Blanc-Renaud frenaud@redhat.com