File: mark-network-test.patch

package info (click to toggle)
pdm 2.23.1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,552 kB
  • sloc: python: 24,995; javascript: 34; makefile: 24
file content (14 lines) | stat: -rw-r--r-- 564 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: mark additional tests that require network access
Author: Benson Muite <bkmgit@users.noreply.github.com>
Origin: upstream, https://github.com/pdm-project/pdm/commit/d790578ebb1234a0ff2506f24f624912af36ab17

--- a/tests/test_integration.py
+++ b/tests/test_integration.py
@@ -56,6 +56,7 @@
 
 
 @pytest.mark.integration
+@pytest.mark.network
 @pytest.mark.parametrize("python_version", PYTHON_VERSIONS)
 @pytest.mark.parametrize("via_env", [True, False])
 def test_init_project_respect_version_file(pdm, project, python_version, via_env, monkeypatch):