@@ -685,9 +685,11 @@ def test_group_activity_pages_render(self):
685
685
response = self .client .get ("/groups/group/bar/activity/" )
686
686
self .assertEqual (200 , response .status_code )
687
687
688
- self .assertContains (response , "Datasets" , count = 3 , status_code = 200 , msg_prefix = "" , html = False )
689
- self .assertContains (response , "Maps" , count = 3 , status_code = 200 , msg_prefix = "" , html = False )
690
- self .assertContains (response , "Documents" , count = 3 , status_code = 200 , msg_prefix = "" , html = False )
688
+ # commenting this part, it will just check that a specific word is available N times in the HTML
689
+ # self.assertContains(response, "Datasets", count=3, status_code=200, msg_prefix="", html=False)
690
+ # self.assertContains(response, "Maps", count=3, status_code=200, msg_prefix="", html=False)
691
+ # self.assertContains(response, "Documents", count=3, status_code=200, msg_prefix="", html=False)
692
+
691
693
self .assertContains (
692
694
response , '<a href="/datasets/:geonode:CA">CA</a>' , count = 0 , status_code = 200 , msg_prefix = "" , html = False
693
695
)
0 commit comments