Skip to content

Commit

Permalink
Bump jaraco.test and use network marker to signal network-reliant tes…
Browse files Browse the repository at this point in the history
…ts. Fixes #65.
  • Loading branch information
jaraco committed Dec 31, 2022
1 parent 1123516 commit b2807a6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
v10.0.2
=======

#65: Tests that require connectivity are now tagged with the
``network`` marker.

v10.0.1
=======

Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ testing =
nbformat
pygments
jaraco.path
jaraco.test >= 5.2
jaraco.test >= 5.3

docs =
# upstream
Expand Down
4 changes: 2 additions & 2 deletions tests/test_scripts.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def DALS(str):
return textwrap.dedent(str).lstrip()


@pytest.mark.usefixtures('needs_internet')
@pytest.mark.network
def test_pkg_imported(tmp_path):
"""
Create a script that loads a package and ensure it runs.
Expand Down Expand Up @@ -154,7 +154,7 @@ def test_jupyter_directives(self, notebook_factory):
assert reqs == ['matplotlib']


@pytest.mark.usefixtures('needs_internet')
@pytest.mark.network
def test_pkg_loaded_from_alternate_index(tmp_path):
"""
Create a script that loads cython from an alternate index
Expand Down

0 comments on commit b2807a6

Please sign in to comment.