Closed auvipy closed 5 years ago
yes started work on that. could you review and suggest some edits to fix the errors? I will push them
I'm not really familiar with this code base, but I would not expect the existing environments (like py36-django111) to break on changing the CI config.
ok, thanks for your time. I will need some more time to fix the issues myself.
I want to +1 this PR as we're vetting a migration to Django2.2 and like @jieter it appears to be one of our dependencies that we're not sure if is g2g.
will fix this soon
Thanks @auvipy
/test/testcases.py", line 454, in assertContains self.assertTrue(real_count != 0, msg_prefix + "Couldn't find %s in response" % text_repr) AssertionError: False is not true : Couldn't find '"type": "Point"' in response
maybe something has changed in DRF and the widget needs to be updated, that's my hypothesis
I'm not deeply familiar with this package, but having had a quick look at it, is there something the wrong way round in the tests? If we look at
we're skipping
test_geojson_HTML_widgetvaluepre_drf_39()
when not is_pre_drf_39
which seems like something is at least named incorrectly. Is the wrong test being run against the wrong version?
..but then also, since https://github.com/djangonauts/django-rest-framework-gis/commit/736f1566f8107d6376dfd83abee9e72b146b60f7 it looks like only one test is now needed here anyway.
It would be really nice to get explicit support for django 2.2, this is one of the few packages preventing upgrade to django==2.2.