From d5929b5f2b2ed66ae6976c02168117f8d2bd0dd5 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Aug 29 2016 12:55:13 +0000 Subject: Fix the unit-tests for the change in the master template --- diff --git a/tests/test_pagure_flask_ui_login.py b/tests/test_pagure_flask_ui_login.py index e00b1d8..e1cf29c 100644 --- a/tests/test_pagure_flask_ui_login.py +++ b/tests/test_pagure_flask_ui_login.py @@ -230,8 +230,8 @@ class PagureFlaskLogintests(tests.Modeltests): self.assertEqual(output.status_code, 200) self.assertIn('Home - Pagure', output.data) self.assertIn( - '', - output.data) + '', output.data) self.assertIn( 'Could not set the session in the db, please report this error ' 'to an admin', output.data) @@ -282,8 +282,8 @@ class PagureFlaskLogintests(tests.Modeltests): self.assertEqual(output.status_code, 200) self.assertIn('Home - Pagure', output.data) self.assertIn( - '', - output.data) + '', output.data) self.assertIn( 'Could not set the session in the db, please report this error ' 'to an admin', output.data) @@ -532,8 +532,8 @@ class PagureFlaskLogintests(tests.Modeltests): self.assertIn('Home - Pagure', output.data) self.assertNotIn('You have been logged out', output.data) self.assertIn( - '', - output.data) + '', output.data) user = tests.FakeUser(username='foo') with tests.user_set(pagure.APP, user):