From fc046c334928b0c7ccef108c09fec61b96b10826 Mon Sep 17 00:00:00 2001 From: farhaanbukhsh Date: Apr 14 2017 10:32:36 +0000 Subject: Add test to check private checkbox UI --- diff --git a/tests/test_pagure_private_repo.py b/tests/test_pagure_private_repo.py index a6db00c..d0b52f4 100644 --- a/tests/test_pagure_private_repo.py +++ b/tests/test_pagure_private_repo.py @@ -365,6 +365,11 @@ class PagurePrivateRepotest(tests.Modeltests): self.assertIn( '', output.data) + # Check the new project form has 'private' checkbox + output = self.app.get('/new') + self.assertEqual(output.status_code, 200) + self.assertIn( + '', output.data) def test_private_pr(self): """Test pull request made to the private repo"""