mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-06 22:33:00 -06:00
ipatests: remove xfail for test_ipa_migrate_version_option
The test test_ipa_ipa_migration.py::TestIPAMigrateScenario1:: test_ipa_migrate_version_option is now passing, issue has been fixed. The -V option has been removed. Related: https://pagure.io/freeipa/issue/9620 Signed-off-by: Florence Blanc-Renaud <flo@redhat.com> Reviewed-By: Sudhir Menon <sumenon@redhat.com>
This commit is contained in:
parent
85a853ba93
commit
de940802bb
@ -846,20 +846,18 @@ class TestIPAMigrateScenario1(IntegrationTest):
|
|||||||
assert DNS_LOG2 in install_msg
|
assert DNS_LOG2 in install_msg
|
||||||
assert DNS_LOG3 in install_msg
|
assert DNS_LOG3 in install_msg
|
||||||
|
|
||||||
@pytest.mark.xfail(reason="https://issues.redhat.com/browse/RHEL-46003",
|
|
||||||
strict=True)
|
|
||||||
def test_ipa_migrate_version_option(self):
|
def test_ipa_migrate_version_option(self):
|
||||||
"""
|
"""
|
||||||
This testcase checks the version of
|
The -V option has been removed.
|
||||||
the ipa-migrate tool using -v option
|
|
||||||
"""
|
"""
|
||||||
CONSOLE_LOG = (
|
CONSOLE_LOG = (
|
||||||
"ipa-migrate: error: the following arguments are "
|
"ipa-migrate: error: the following arguments are "
|
||||||
"required: mode, hostname"
|
"required: mode, hostname"
|
||||||
)
|
)
|
||||||
result = self.master.run_command(["ipa-migrate", "-V"])
|
result = self.master.run_command(["ipa-migrate", "-V"],
|
||||||
assert result.returncode == 0
|
raiseonerr=False)
|
||||||
assert CONSOLE_LOG not in result.stderr_text
|
assert result.returncode == 2
|
||||||
|
assert CONSOLE_LOG in result.stderr_text
|
||||||
|
|
||||||
def test_ipa_migrate_with_log_file_option(self):
|
def test_ipa_migrate_with_log_file_option(self):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user