alysivji / falcon-apispec

apispec plugin that generates OpenAPI specification (aka Swagger Docs) for Falcon web applications.
MIT License
44 stars 31 forks source link

Include resource in each test. #2

Closed catherinedevlin closed 6 years ago

catherinedevlin commented 6 years ago

We'll need a variety of resources for a variety of tests, so it's more straightforward to define them with each test.

This just breaks up the existing test. Now I'll be able to actually add more tests.

codecov-io commented 6 years ago

Codecov Report

Merging #2 into master will increase coverage by 0.85%. The diff coverage is 92.59%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master       #2      +/-   ##
==========================================
+ Coverage   94.91%   95.77%   +0.85%     
==========================================
  Files           3        3              
  Lines          59       71      +12     
==========================================
+ Hits           56       68      +12     
  Misses          3        3
Impacted Files Coverage Δ
tests/falcon_test.py 94.87% <92.59%> (+2.27%) :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 b64b076...ea93e1d. Read the comment docs.