File: disable-network-tests.patch

package info (click to toggle)
python-crossrefapi 1.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, trixie
  • size: 272 kB
  • sloc: python: 1,175; makefile: 7
file content (21 lines) | stat: -rw-r--r-- 656 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: Disable network tests.
Author: Andrius Merkys <merkys@debian.org>
Forwarded: not-needed
--- a/tests/test_restful.py
+++ b/tests/test_restful.py
@@ -21,6 +21,7 @@
             contact_email="undefined",
         )
 
+    @unittest.skip("not running network tests")
     def test_work_agency_message(self):
         """
         Testing the base structure for the /works/{DOI}/agency endpoint.
@@ -33,6 +34,7 @@
 
         assert result["agency"]["id"] == "crossref"
 
+    @unittest.skip("not running network tests")
     def test_work_agency_header(self):
         """
         Testing the base structure for the /works/{DOI}/agency endpoint.