Skip to content

Commit

Permalink
🧪 Integrate hypothesis into the test infra
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz committed Sep 28, 2024
1 parent 327a8bd commit d3545a6
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .isort.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ honor_noqa = true
include_trailing_comma = true
indent = 4
known_frameworks = awx, django
known_testing = pytest
known_testing = hypothesis, pytest
line_length = 79
lines_after_imports = 2
# https://pycqa.github.io/isort/#multi-line-output-modes
Expand Down
1 change: 1 addition & 0 deletions dependencies/direct/py.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
covdefaults
coverage # accessed directly from tox
coverage-enable-subprocess
hypothesis
pytest
pytest-cov
pytest-mock
Expand Down
6 changes: 6 additions & 0 deletions dependencies/lock-files/py311-cp311-linux-x86_64.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ adal==1.2.7
# via msrestazure
asgiref==3.8.1
# via django
attrs==24.2.0
# via hypothesis
azure-core==1.31.0
# via
# azure-identity
Expand Down Expand Up @@ -60,6 +62,8 @@ django==5.1.1
# via awx-plugins-core (pyproject.toml)
execnet==2.1.1
# via pytest-xdist
hypothesis==6.112.1
# via -r dependencies/direct/py.in
idna==3.10
# via requests
iniconfig==2.0.0
Expand Down Expand Up @@ -140,6 +144,8 @@ six==1.16.0
# isodate
# msrestazure
# python-dateutil
sortedcontainers==2.4.0
# via hypothesis
sqlparse==0.5.1
# via django
typing-extensions==4.12.2
Expand Down
6 changes: 6 additions & 0 deletions dependencies/lock-files/py312-cp312-linux-x86_64.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ adal==1.2.7
# via msrestazure
asgiref==3.8.1
# via django
attrs==24.2.0
# via hypothesis
azure-core==1.31.0
# via
# azure-identity
Expand Down Expand Up @@ -60,6 +62,8 @@ django==5.1.1
# via awx-plugins-core (pyproject.toml)
execnet==2.1.1
# via pytest-xdist
hypothesis==6.112.1
# via -r dependencies/direct/py.in
idna==3.10
# via requests
iniconfig==2.0.0
Expand Down Expand Up @@ -140,6 +144,8 @@ six==1.16.0
# isodate
# msrestazure
# python-dateutil
sortedcontainers==2.4.0
# via hypothesis
sqlparse==0.5.1
# via django
typing-extensions==4.12.2
Expand Down
6 changes: 6 additions & 0 deletions dependencies/lock-files/py313-cp313-linux-x86_64.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ adal==1.2.7
# via msrestazure
asgiref==3.8.1
# via django
attrs==24.2.0
# via hypothesis
azure-core==1.31.0
# via
# azure-identity
Expand Down Expand Up @@ -60,6 +62,8 @@ django==5.1.1
# via awx-plugins-core (pyproject.toml)
execnet==2.1.1
# via pytest-xdist
hypothesis==6.112.1
# via -r dependencies/direct/py.in
idna==3.10
# via requests
iniconfig==2.0.0
Expand Down Expand Up @@ -140,6 +144,8 @@ six==1.16.0
# isodate
# msrestazure
# python-dateutil
sortedcontainers==2.4.0
# via hypothesis
sqlparse==0.5.1
# via django
typing-extensions==4.12.2
Expand Down
2 changes: 1 addition & 1 deletion nitpick-style.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ honor_noqa = true
include_trailing_comma = true
indent = 4
known_frameworks = 'awx, django'
known_testing = 'pytest'
known_testing = 'hypothesis, pytest'
line_length = 79
lines_after_imports = 2
# https://pycqa.github.io/isort/#multi-line-output-modes
Expand Down

0 comments on commit d3545a6

Please sign in to comment.