' in output.data)
+ self.assertTrue(
+ 'Overview - test - Pagure' in output.data)
+ self.assertTrue(
+ '
Edited successfully settings of '
+ 'repo: test
' in output.data)
+
+ # Both checkbox are again checked
+ output = self.app.get('/test/settings', follow_redirects=True)
+ self.assertEqual(output.status_code, 200)
+ self.assertTrue('' in output.data)
+ self.assertTrue('
Settings
' in output.data)
+ self.assertTrue(
+ '
\n
' in output.data)
+ self.assertTrue(
+ '' in output.data)
+ self.assertTrue(
+ '' in output.data)
+
def test_view_forks(self):
""" Test the view_forks endpoint. """