Package: pyxnat / 1.0.1.0-1

skip_test_with_remote_connection.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Exclude tests that need remote access
Author: Andreas Tille <tille@debian.org>
Last-Update: Sun, 16 Sep 2018 21:11:19 +0200

--- a/pyxnat/tests/interfaces_test.py
+++ b/pyxnat/tests/interfaces_test.py
@@ -26,12 +26,6 @@ def test_nested_path_listing():
 #         if stop:
 #             break
 
-def test_seach_access():
-    constraints = [('xnat:subjectData/PROJECT', '=', 'CENTRAL_OASIS_CS'), 'AND']
-
-    for subject in central.select('//subjects').where(constraints):
-        assert '/projects/CENTRAL_OASIS_CS' in subject._uri
-
 def test_anonymous_access():
     projects = central_anon.select.projects().get()
     assert isinstance(projects, list)