Skip to content

Commit

Permalink
test(openapi-docs): add test for generating openapi specifications
Browse files Browse the repository at this point in the history
  • Loading branch information
mostaphaRoudsari committed May 4, 2020
1 parent b7d126f commit a0a51e4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/test_openapi_docs.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
"""Test generating OpenAPI docs."""
import os

root = os.path.dirname(os.path.dirname(__file__))
os.chdir(root)


def test_gen_openapi():
rc = os.system('python ./docs.py')
assert rc == 0

0 comments on commit a0a51e4

Please sign in to comment.