-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Major dependency update #4806
Major dependency update #4806
Conversation
f2a92e2
to
4b1a23b
Compare
47b4ec1
to
855c2f0
Compare
@@ -13,6 +13,9 @@ | |||
|
|||
|
|||
class SensorViewSet(generics.GenericAPIView, viewsets.ViewSet, OrgMixin, ProfileIdMixin): | |||
# For the Swagger page, GenericAPIView asserts a value exists for `queryset` | |||
queryset = Sensor.objects.none() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why none
and not all
? I see mostly all
s in the existing codebase.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is only for the benefit of Swagger - it doesn't need to actually hit the database, it only needs the queryset property to exist
@@ -1076,7 +1076,7 @@ def test_get_location(self): | |||
location, status = _get_location(self.property_view) | |||
self.assertEqual(status, "success") | |||
self.assertTrue(location is not None) | |||
self.assertEqual(location, "730 Garcia Street, Boring, Oregon, 97080") | |||
self.assertEqual(location, "1070 Hunt Street, Boring, Oregon, 97015") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just curious, why?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pretty sure this one comes from bumping Faker from v0.9.3
to v29.0.0
. Somewhere along the way they changed their algorithm for generating addresses and such
6ce06d3
to
2722c8d
Compare
…nx spelling issues, fixed sphinx-build on Windows, removed unused code
…fixed type checking
2722c8d
to
6a64ce6
Compare
6a64ce6
to
3c2cde8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
works on python 3.9.13!
What's this PR do?
manage.py flush_db
command that wipes all database contents (and restarts table sequences) except for static tables (EEEJ and Uniformat)django-autoslug
dependencyNullBooleanField
<class 'seed.views.v3.sensors.SensorViewSet'> is not compatible with schema generation
<class 'seed.views.v3.tax_lot_properties.TaxLotPropertyViewSet'> is not compatible with schema generation
npm test
to support both port 80 and 8000How should this be manually tested?
Monkey test, tests should pass
For local testing, you'll (obviously) need to run
pip install -r requirements/test.txt