use logger instead of print in modules

This commit is contained in:
Romain Bignon 2012-05-13 10:44:48 +02:00
commit ca7fd3c7f2
4 changed files with 5 additions and 8 deletions

View file

@ -33,10 +33,8 @@ class LoginPage(BasePage):
success_p = self.document.xpath(
'//p[text() = "Login Successful. You will be returned momentarily."]')
if len(success_p):
print 'logged on'
return True
else:
print 'not logged on'
return False