[copr] master: This test isn't useful anymore (02e9007)

bkabrda at fedoraproject.org bkabrda at fedoraproject.org
Mon Feb 4 11:03:05 UTC 2013


Repository : http://git.fedorahosted.org/cgit/copr.git

On branch  : master

>---------------------------------------------------------------

commit 02e900750b5d56dc141dac82650c00a4f53b60fa
Author: Bohuslav Kabrda <bkabrda at redhat.com>
Date:   Mon Feb 4 12:01:51 2013 +0100

    This test isn't useful anymore


>---------------------------------------------------------------

 .../tests/test_views/test_coprs_ns/test_general.py |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/coprs_frontend/tests/test_views/test_coprs_ns/test_general.py b/coprs_frontend/tests/test_views/test_coprs_ns/test_general.py
index 9f3fad6..e81b857 100644
--- a/coprs_frontend/tests/test_views/test_coprs_ns/test_general.py
+++ b/coprs_frontend/tests/test_views/test_coprs_ns/test_general.py
@@ -141,10 +141,6 @@ class TestCoprDetail(CoprsTestCase):
         assert '<td>{0}'.format(self.u3.name) in r.data
         assert '<td>{0}'.format(self.u1.name) in r.data
 
-    def test_copr_detail_doesnt_contain_forms_for_anonymous_user(self, f_users, f_coprs):
-        r = self.tc.get('/coprs/detail/{0}/{1}/'.format(self.u2.name, self.c3.name))
-        assert '<form' not in r.data
-
     def test_copr_detail_allows_asking_for_permissions(self, f_users, f_coprs, f_copr_permissions):
         with self.tc as c:
             with c.session_transaction() as s:



More information about the copr-devel mailing list