Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Aug 10, 2018
1 parent 67edf00 commit 372154c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
6 changes: 0 additions & 6 deletions tests/src/python/test_qgsserver_accesscontrol_wms.py
Expand Up @@ -51,9 +51,6 @@ def test_wms_getcapabilities(self):
self.assertTrue(
str(response).find("<Name>Country</Name>") != -1,
"No Country layer in GetCapabilities\n%s" % response)
self.assertTrue(
str(response).find("<Name>Country_grp</Name>") != -1,
"No Country_grp layer in GetCapabilities\n%s" % response)

response, headers = self._get_restricted(query_string)
self.assertTrue(
Expand All @@ -62,9 +59,6 @@ def test_wms_getcapabilities(self):
self.assertFalse(
str(response).find("<Name>Country</Name>") != -1,
"Country layer in GetCapabilities\n%s" % response)
self.assertFalse(
str(response).find("<Name>Country_grp</Name>") != -1,
"Country_grp layer in GetCapabilities\n%s" % response)

def test_wms_getprojectsettings(self):
query_string = "&".join(["%s=%s" % i for i in list({
Expand Down
Expand Up @@ -96,5 +96,6 @@ def test_wms_getlegendgraphic_country_grp(self):
"Not allowed GetLegendGraphic"
)


if __name__ == "__main__":
unittest.main()

0 comments on commit 372154c

Please sign in to comment.