-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature/app 101 support creating multiple geographies in the backend (#…
…280) * feat: update serializer with geographies property * refactor: use the geographies property that we are now getting from the payload when creating geographies * refactor: bulk add all the geo families db.addall is more efficient and idiomatic * WIP: test add integration test for multi geos * test: update integration test for multi geos on create * fix: make geography get ids from values more dynamic returns the list of elements depending on whats passed to the mocked function * tests: update unit tests for the create endpoint the geo get id from value has been replaced with the gets ids, so updating tests accordingly * test: update expected errors * fix: accidentally duplicated the assertions in test * test: fixes to integration tests on create endpoint * chore: update pyproject * refactor: add geographies to bulk import model * chore: update package version * test: add a bit more clarity to unit test for invalid geo id --------- Co-authored-by: Osneil Drakes <osneildrakes@Osneils-MacBook-Pro.local> Co-authored-by: Osneil Drakes <osneildrakes@MacBookPro.communityfibre.co.uk>
- Loading branch information
1 parent
974abdb
commit 0e10240
Showing
9 changed files
with
85 additions
and
25 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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 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 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 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