Skip to content

Commit

Permalink
- Fix travis
Browse files Browse the repository at this point in the history
  • Loading branch information
afabiani committed Jun 6, 2019
1 parent 58e9c4c commit cda82f9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion geonode/security/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -1217,7 +1217,7 @@ def test_save_and_delete_signals(self):
self.assertIsNotNone(test_perm_layer.bbox)
self.assertIsNotNone(test_perm_layer.srid)
self.assertIsNotNone(test_perm_layer.link_set)
self.assertEquals(len(test_perm_layer.link_set.all()), 17)
self.assertEquals(len(test_perm_layer.link_set.all()), 18)

# Layer Manipulation
from geonode.geoserver.upload import geoserver_upload
Expand Down
12 changes: 4 additions & 8 deletions geonode/tests/csw.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,15 +125,11 @@ def test_csw_outputschema_dc(self):
for link in record.references:
if check_ogc_backend(geoserver.BACKEND_PACKAGE):
if link['scheme'] == 'OGC:WMS':
self.assertEqual(
link['url'],
'{}ows'.format(settings.GEOSERVER_PUBLIC_LOCATION),
'Expected a specific OGC:WMS URL')
self.assertEquals(link['url'], '{}ows'.format(settings.GEOSERVER_PUBLIC_LOCATION))
elif link['scheme'] == 'OGC:WFS':
self.assertEqual(
link['url'],
'{}wfs'.format(settings.GEOSERVER_PUBLIC_LOCATION),
'Expected a specific OGC:WFS URL')
self.assertEquals(link['url'], '{}wfs'.format(settings.GEOSERVER_PUBLIC_LOCATION))
elif link['scheme'] == 'OGC:WCS':
self.assertEquals(link['url'], '{}wcs'.format(settings.GEOSERVER_PUBLIC_LOCATION))
elif check_ogc_backend(qgis_server.BACKEND_PACKAGE):
if link['scheme'] == 'OGC:WMS':
self.assertEqual(
Expand Down

0 comments on commit cda82f9

Please sign in to comment.