-
Notifications
You must be signed in to change notification settings - Fork 3
BDMS 22+: implement sample model | some pytest cleanup | pre-commit hooks #49
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
Merged
Merged
Changes from all commits
Commits
Show all changes
48 commits
Select commit
Hold shift + click to select a range
69c0a9e
fix: import all models in db package for Alembic
jacob-a-brown 6bece1b
fix: drop idx_location_point index
jacob-a-brown a406054
Formatting changes
jacob-a-brown c348dc6
feat: Refactor imports and update Alembic migration for all models
jacob-a-brown 56e5ade
fix: version work in docker database
jacob-a-brown 4920e36
Merge branch 'jab-poc' of https://github.com/DataIntegrationGroup/NMS…
jacob-a-brown 6b3e83b
Formatting changes
jacob-a-brown 0f19295
Merge remote-tracking branch 'origin/pre-production' into jab-poc
jacob-a-brown 70c211c
fix: create migration script with sa continuum tables
jacob-a-brown f4c1b53
fix: drop indexes before creation
jacob-a-brown af59537
Merge branch 'jab-poc' of https://github.com/DataIntegrationGroup/NMS…
jacob-a-brown 2e6b162
Formatting changes
jacob-a-brown d471487
fix: drop index before creating if exists
jacob-a-brown 5c111df
fix: remove material created by tests
jacob-a-brown 7055f2f
Merge branch 'jab-poc' of https://github.com/DataIntegrationGroup/NMS…
jacob-a-brown 12d993f
fix: resolve merge conflicts
jacob-a-brown 3ce1bee
docs: document work needed to be done by alembic migrations
jacob-a-brown 5b223bc
refactor: call configure_mappers() in db/__init__.py
jacob-a-brown d43365d
feat: add sample fixture for sample tests
jacob-a-brown 56a6229
fix: delete thing after creation in fixture
jacob-a-brown 5fc4016
feat: create general ResourceNotFoundResponse model for 404 errors
jacob-a-brown ded3c54
feat: create sample patch and get by id endpoints
jacob-a-brown 7ef271f
feat: add update schema for sample and update sample response schema
jacob-a-brown 2d40298
WIP: work on sample endpoint tests
jacob-a-brown 706006f
fix: implement successful and 404 sample patch endpoints
jacob-a-brown e22f7e8
WIP: test sample custom field validators
jacob-a-brown 9f58da3
docs: note where code can be refactored
jacob-a-brown 315f407
docs: note fixture management
jacob-a-brown f892b3c
fix: update add sample test to use thing fixture
jacob-a-brown e3b127d
fix: use sample fixture's in get get sample test
jacob-a-brown d54d5ce
fix: fix use of session to validate Thing existence for UpdateSample
jacob-a-brown b301103
fix: fix errors with 422 custom validation update sample tests
jacob-a-brown 7e73e47
fix: cleanup sample after add test
jacob-a-brown fed04a7
refactor: remove outdated note about fixtures
jacob-a-brown a35b9d1
refactor: put sample fixture in tests/__init__.py for organization
jacob-a-brown acb07dd
Merge remote-tracking branch 'origin/pre-production' into dev-jab
jacob-a-brown d484f2c
fix: fix artifact from merge conflict
jacob-a-brown b14a536
refactor: move fixtures to conftest.py
jacob-a-brown 1fe76a1
fix: update and clean samples tests for session fixtures
jacob-a-brown 20b4a12
fix: remove debugging print statement
jacob-a-brown 3ba7dfa
fix: remove fixture imports now they are in conftest
jacob-a-brown 2d08c74
fix: fix search test cases
jacob-a-brown 8406c8c
fix: delete shapefile files created by geospatial test
jacob-a-brown 21e6c9a
fix: use session fixtures for contact tests | cleanup post tests
jacob-a-brown eb0d1fa
fix: run search test on relevant fixtures
jacob-a-brown 6aa3e8f
fix: temporary fix until all fixtures are used
jacob-a-brown 717dde8
refactor: drop and create all tables for API testing suite
jacob-a-brown 57b937a
refactor: address PR 49 feedback and use session_dependency
jacob-a-brown File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.