Skip to content

Commit

Permalink
rename test files to be test_* instead of *_test to align with pytest…
Browse files Browse the repository at this point in the history
… conventions
  • Loading branch information
philvarner committed Dec 9, 2024
1 parent c04e336 commit 095a965
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ show_missing = true
skip_empty = true
sort = "Cover"
omit = [
"**/*_test.py",
"**/conftest.py",
"tests/**/*.py",
"stapi_fastapi/__dev__.py",
]

Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/opportunity_test.py → tests/test_opportunity.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from stapi_fastapi.models.opportunity import Opportunity, OpportunityCollection

from .backends import MockProductBackend
from .datetime_interval_test import rfc3339_strftime
from .test_datetime_interval import rfc3339_strftime


@pytest.mark.parametrize("product_id", ["test-spotlight"])
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 095a965

Please sign in to comment.