Skip to content

Commit

Permalink
Merge branch 'v.3.6.x' into g3w-client_release_v3.8.10/g3w-client-plu…
Browse files Browse the repository at this point in the history
…gin-editing_release_v3.6.5
  • Loading branch information
wlorenzetti authored Sep 20, 2023
2 parents 9f8a072 + a9c4385 commit 0ad8bf3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions g3w-admin/core/tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -628,13 +628,13 @@ def testCoreInterfaceOwsView(self):
jres = json.loads(res.content)

self.assertTrue(jres['result'])
self.assertEqual('Geoscopio_wms catasto', jres['title'])
self.assertEqual('Geoscopio_wms catasto'.lower(), jres['title'].lower())
self.assertTrue('image/png' in jres['map_formats'])
self.assertTrue('text/html' in jres['info_formats'])
self.assertEqual(len(jres['layers']), 21)

self.assertEqual(jres['layers'][1]['title'], 'Acque - AdT Catasto Terreni')
self.assertEqual(len(jres['layers'][1]['crss']), 19)
self.assertEqual(jres['layers'][1]['title'].lower(), 'Acque - AdT Catasto Terreni'.lower())
self.assertEqual(len(jres['layers'][1]['crss']), 20)


def test_crs_api_rest(self):
Expand Down

0 comments on commit 0ad8bf3

Please sign in to comment.