diff --git a/.gitignore b/.gitignore index 7fe3d27a..2329b52b 100644 --- a/.gitignore +++ b/.gitignore @@ -103,4 +103,7 @@ coverage.xml docs/_build/ venv/ *.iml -.idea/ \ No newline at end of file +.idea/ + +# Pytest +.pytest_cache/ \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index cb7df909..b326726f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,11 +5,10 @@ python: - '3.6' install: - pip install -r requirements-dev.txt -- pip install --user codecov matrix: fast_finish: true script: -- pytest +- pytest --cov=./ stages: - test - deploy diff --git a/design_request_example.json b/design_request_example.json deleted file mode 100644 index 580e846a..00000000 --- a/design_request_example.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "request": { - "unit_process": "pipe_example", - "name":"conduction line", - "request_timestamp":"1503614908", - "flow_rate": { - "magnitude":3.5, - "units":"L/s" - }, - "length":{ - "magnitude":4, - "units":"m" - }, - "max_hl":{ - "magnitude":30, - "units":"cm" - } - - }, - "result": { - "unit_process": "pipe_example", - "name":"conduction line", - "length":{ - "magnitude":4, - "units":"m" - }, - "nominal_diameter":3, - "resulting_headloss":{ - "magnitude":20, - "units":"cm" - } - } -} \ No newline at end of file diff --git a/requirements-dev.txt b/requirements-dev.txt index 8b51fbe5..5ef85baf 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -2,4 +2,6 @@ scipy numpy pandas matplotlib -pint \ No newline at end of file +pint +codecov +pytest-cov \ No newline at end of file