Skip to content

Commit c172e4f

Browse files
committed
Added pytest suoport
1 parent 4d31850 commit c172e4f

File tree

3 files changed

+18
-8
lines changed

3 files changed

+18
-8
lines changed

requirements.txt

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# Pinned dependencies that cause breakage
2-
Werkzeug==2.3.3
2+
Werkzeug==3.0.1
33
urllib3==1.26.15
44

55
# Runtime dependencies
6-
Flask==2.3.2
6+
Flask==2.3.3
77
flask-restx==1.1.0
88
cloudant==2.15.0
99
retry2==0.9.5
@@ -14,14 +14,17 @@ gunicorn==20.1.0
1414
honcho==1.1.0
1515

1616
# Code quality
17-
pylint==2.16.2
18-
flake8==6.0.0
19-
black==23.1.0
17+
pylint==2.17.5
18+
flake8==6.1.0
19+
black==23.7.0
2020

2121
# Testing dependencies
22-
green==3.4.3
22+
pytest==7.4.0
23+
pytest-pspec==0.0.4
24+
pytest-cov==4.1.0
25+
coverage==7.3.0
2326
factory-boy==3.2.1
24-
coverage==7.1.0
27+
green==3.4.3
2528

2629
# Utilities
27-
httpie==3.2.1
30+
httpie==3.2.2

setup.cfg

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
[tool:pytest]
2+
minversion = 6.0
3+
addopts = --pspec --cov=service --cov-fail-under=95 --disable-warnings
4+
testpaths =
5+
tests
6+
integration
7+
18
[green]
29
verbose=3
310
processes=1

tests/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)