forked from okta/okta-sdk-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
27 lines (26 loc) · 654 Bytes
/
tox.ini
File metadata and controls
27 lines (26 loc) · 654 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
[tox]
envlist = py38, py37, py36, py39
skip_missing_interpreters=True
[testenv]
# install testing framework
deps =
pytest
flake8
-rrequirements.txt
# run the tests
commands =
python -c 'print("Running Unit Tests...")'
pytest tests/unit/
python -c 'print("Unit Tests Succesful!")'
python -c 'print("Running Integration Tests...")'
pytest tests/integration/
python -c 'print("Integration Tests Succesful!")'
python -c 'print("Checking Code Style (Flake8)...")'
flake8 okta
flake8 tests
python -c 'print("Flake8 Check Succesful!")'
[pytest]
minversion = 5.4.0
addopts = -ra -q -v
testpaths =
tests