mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-08-08 20:18:07 -05:00
Add assert to check output of upgrade
Ckeck the output of ipa-server-upgrade script for error. Related to: https://pagure.io/freeipa/issue/7644 Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com> Reviewed-By: Christian Heimes <cheimes@redhat.com> Reviewed-By: Rob Crittenden <rcritten@redhat.com>
This commit is contained in:
committed by
Florence Blanc-Renaud
parent
6fa1e6f18e
commit
89799a14ce
@@ -18,4 +18,6 @@ class TestUpgrade(IntegrationTest):
|
||||
def test_invoke_upgrader(self):
|
||||
cmd = self.master.run_command(['ipa-server-upgrade'],
|
||||
raiseonerr=False)
|
||||
assert ("DN: cn=Schema Compatibility,cn=plugins,cn=config does not \
|
||||
exists or haven't been updated" not in cmd.stdout_text)
|
||||
assert cmd.returncode == 0
|
||||
|
||||
Reference in New Issue
Block a user