Skip to content

Commit

Permalink
Do not collect TestingFileStorage for testing
Browse files Browse the repository at this point in the history
... otherwise pytest issues a warning.

pytest supports configuration of test discovery via globbing.

E.g. python_classes = Test[A-Z]* means, that after Test there must be
another capital letter.

modified:   tox.ini
  • Loading branch information
jugmac00 committed Jun 30, 2020
1 parent 8a60e85 commit 2fa0351
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,8 @@ ignore =
source =
src/
.tox/*/lib/python*/site-packages/

[pytest]
# only collect test classes with camel case
# do not collect e.g. TestingFileStorage
python_classes = Test[A-Z]*

0 comments on commit 2fa0351

Please sign in to comment.