CCI-MOC / flocx-market

2 stars 9 forks source link

Remove the POST handler for the /contract endpoint #131

Closed larsks closed 3 years ago

larsks commented 5 years ago

We should not be able to create a contract via the REST API; this should only happen as a result of the matching process.

Closes #125

codecov-io commented 5 years ago

Codecov Report

Merging #131 into master will decrease coverage by 0.03%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #131      +/-   ##
==========================================
- Coverage   93.26%   93.23%   -0.04%     
==========================================
  Files          51       51              
  Lines        2005     1996       -9     
==========================================
- Hits         1870     1861       -9     
  Misses        135      135
Impacted Files Coverage Δ
flocx_market/api/contract.py 96.29% <ø> (-0.38%) :arrow_down:
flocx_market/tests/unit/api/test_app_contract.py 100% <ø> (ø) :arrow_up:

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 e59892b...a97766a. Read the comment docs.