From 0319dc1be2fd6889853124d5fc963dd75ef566d9 Mon Sep 17 00:00:00 2001
From: axl89 <axl89@users.noreply.github.com>
Date: Fri, 15 Jul 2016 10:51:35 +0200
Subject: [PATCH] Added print in login and logout to prevent TRAVIS timeouts

(cherry picked from commit c43125a5db3d7ba6b964a49df4e6aa4d466ec144)
---
 tests/console/include/common_functions_60.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/console/include/common_functions_60.py b/tests/console/include/common_functions_60.py
index 5c52aba3c8..ff6525c937 100644
--- a/tests/console/include/common_functions_60.py
+++ b/tests/console/include/common_functions_60.py
@@ -16,6 +16,7 @@ def gen_random_string(size,preffix=None):
 
 
 def login(driver,user="admin",passwd="pandora",pandora_url="http://127.0.0.1/"):
+	print u"Logging in"
 	driver.get(pandora_url+"/pandora_console/index.php")
 	driver.find_element_by_id("nick").clear()
 	driver.find_element_by_id("nick").send_keys(user)
@@ -44,6 +45,7 @@ def refresh_N_times_until_find_element(driver,n,element_text,how=By.ID,refresh_t
 	raise TimeoutException("Element %s not found" % (element_text))
 
 def logout(driver,url):
+	print u"Logging out"
 	if url[-1] != '/':
 		driver.find_element_by_xpath('//div[@id="container"]//a[@href="'+url+'/pandora_console/index.php?bye=bye"]').click()
 	else: