From 7e23f5b489071f4ebe8dbd3ac330eb91145305a1 Mon Sep 17 00:00:00 2001
From: Oleg Fayans <ofayans@redhat.com>
Date: Thu, 25 Aug 2016 09:17:36 +0200
Subject: [PATCH] Fixed incorrect sequence of method calls in tasks.py

https://fedorahosted.org/freeipa/ticket/6255
---
 ipatests/test_integration/tasks.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ipatests/test_integration/tasks.py b/ipatests/test_integration/tasks.py
index 21f5d9a..7b44cd3 100644
--- a/ipatests/test_integration/tasks.py
+++ b/ipatests/test_integration/tasks.py
@@ -138,8 +138,8 @@ def allow_sync_ptr(host):
 
 
 def apply_common_fixes(host):
-    fix_hostname(host)
     prepare_host(host)
+    fix_hostname(host)
 
 
 def backup_file(host, filename):
