City-of-Helsinki / maritime-maas

MIT License
0 stars 3 forks source link

MAAS-76 & MAAS-78 | Initial Booking model and bookings MaaS API #23

Closed tuomas777 closed 3 years ago

tuomas777 commented 3 years ago

Added initial Booking model and bookings MaaS API endpoint. The API matches the spec. Tests will be implemented later to not block development with this.

codecov-io commented 3 years ago

Codecov Report

Merging #23 (f8507f9) into main (d510be6) will decrease coverage by 2.10%. The diff coverage is 68.62%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #23      +/-   ##
==========================================
- Coverage   88.52%   86.41%   -2.11%     
==========================================
  Files          33       37       +4     
  Lines         880      979      +99     
  Branches       63       69       +6     
==========================================
+ Hits          779      846      +67     
- Misses         74      106      +32     
  Partials       27       27              
Impacted Files Coverage Δ
maritime_maas/settings.py 81.63% <ø> (ø)
bookings/api.py 51.61% <51.61%> (ø)
bookings/models.py 92.00% <92.00%> (ø)
bookings/admin.py 100.00% <100.00%> (ø)
bookings/apps.py 100.00% <100.00%> (ø)
gtfs/models/base.py 93.33% <100.00%> (ø)
gtfs/models/fare.py 96.15% <100.00%> (+0.15%) :arrow_up:
gtfs/models/feed.py 93.75% <100.00%> (ø)
gtfs/models/rider_category.py 91.66% <100.00%> (+0.75%) :arrow_up:
maritime_maas/urls.py 95.23% <100.00%> (+0.50%) :arrow_up:
... and 4 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update d510be6...f8507f9. Read the comment docs.