From c294b7f6dbcae9c01d5366b19b3b070ffb730fa6 Mon Sep 17 00:00:00 2001 From: Sudhir Menon Date: Wed, 11 Dec 2024 15:12:48 +0530 Subject: [PATCH] ipatests: Fixes for ipa-ipa-migration tool The test test_ipa_migrate_with_invalid_host has been failing in downstream run due to mismatch in the expected test output, hence the assert statement has been modified. Related: https://pagure.io/freeipa/issue/3656 Signed-off-by: Sudhir Menon Reviewed-By: Florence Blanc-Renaud --- ipatests/test_integration/test_ipa_ipa_migration.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ipatests/test_integration/test_ipa_ipa_migration.py b/ipatests/test_integration/test_ipa_ipa_migration.py index 0c637a0141d95f34f951c60a9648adf8e87eaa63..95c29234fc7893d3eae5d900a58aa7b1162ed61d 100644 --- a/ipatests/test_integration/test_ipa_ipa_migration.py +++ b/ipatests/test_integration/test_ipa_ipa_migration.py @@ -437,10 +437,8 @@ class TestIPAMigrateCLIOptions(MigrationTest): """ hostname = "server.invalid.host" ERR_MSG = ( - "IPA to IPA migration starting ...\n" "Failed to bind to remote server: cannot connect to " - "'ldap://" - "{}': \n".format(hostname) + "'ldap://{}':".format(hostname) ) result = run_migrate( self.replicas[0], -- 2.47.1