Skip to content

Commit

Permalink
Added pytest marks
Browse files Browse the repository at this point in the history
  • Loading branch information
RaresCode committed Sep 19, 2023
1 parent 3c25080 commit 819b52e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/pytest.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[pytest]
markers=
regression
sanity
smoke

1 change: 1 addition & 0 deletions tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ class TestScrapers:
def scraper_class(self, request):
return request.param

@pytest.mark.regression
def test_scrapers(self, scraper_class):
setup_tests = SetupTests()
setup_tests.get_jobs_careers(scraper_class)
Expand Down

0 comments on commit 819b52e

Please sign in to comment.