Skip to content

Commit

Permalink
[qa] Skip migration checks
Browse files Browse the repository at this point in the history
Solved travis build errors
  • Loading branch information
nemesifier authored and devkapilbansal committed Aug 26, 2020
1 parent 0d9b46e commit 79c7c6d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 9 deletions.
2 changes: 1 addition & 1 deletion run-qa-checks
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
set -e

openwisp-qa-check --migration-path "./tests/django_restframework_gis_tests/migrations/"
openwisp-qa-check --skip-checkmigrations --skip-checkmakemigrations
24 changes: 16 additions & 8 deletions tests/django_restframework_gis_tests/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,24 @@ class TestRestFrameworkGis(TestCase):
def setUp(self):
self.location_list_url = reverse('api_location_list')
self.geojson_location_list_url = reverse('api_geojson_location_list')
self.geos_error_message = 'Invalid format: string or unicode input unrecognized as GeoJSON,\
WKT EWKT or HEXEWKB.'
self.gdal_error_message = 'Unable to convert to python object: \
Invalid geometry pointer returned from "OGR_G_CreateGeometryFromJson".'
self.geos_error_message = (
'Invalid format: string or unicode input unrecognized as GeoJSON,'
' WKT EWKT or HEXEWKB.'
)
self.gdal_error_message = (
'Unable to convert to python object:'
' Invalid geometry pointer returned from "OGR_G_CreateGeometryFromJson".'
)
if django.VERSION >= (2, 0, 0):
self.value_error_message = "Unable to convert to python object: \
String input unrecognized as WKT EWKT, and HEXEWKB."
self.value_error_message = (
"Unable to convert to python object:"
" String input unrecognized as WKT EWKT, and HEXEWKB."
)
else:
self.value_error_message = "Unable to convert to python object: \
String or unicode input unrecognized as WKT EWKT, and HEXEWKB."
self.value_error_message = (
"Unable to convert to python object:"
" String or unicode input unrecognized as WKT EWKT, and HEXEWKB."
)
self.type_error_message = (
"Unable to convert to python object: Improper geometry input type:"
)
Expand Down

0 comments on commit 79c7c6d

Please sign in to comment.