1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
|
From: Roland Mas <roland.mas@entierement.net>
Date: Wed, 28 Jun 2023 16:12:52 +0200
Subject: Disable tests using the network
---
tomoscan/tests/test_factory.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tomoscan/tests/test_factory.py b/tomoscan/tests/test_factory.py
index a99bc36..1884e01 100644
--- a/tomoscan/tests/test_factory.py
+++ b/tomoscan/tests/test_factory.py
@@ -14,6 +14,7 @@ from tomoscan.scanbase import TomoScanBase
from tomoscan.tests.datasets import GitlabDataset
+@pytest.mark.skip(reason="No network access")
def test_scan_edf():
"""can we create a TomoScanBase object from a folder containing a
valid .edf acquisition"""
@@ -22,6 +23,7 @@ def test_scan_edf():
assert isinstance(scan, EDFTomoScan)
+@pytest.mark.skip(reason="No network access")
def test_one_nx():
"""Can we create a TomoScanBase from a .nx master file containing
one acquisition"""
@@ -33,6 +35,7 @@ def test_one_nx():
assert scan.entry == "/entry"
+@pytest.mark.skip(reason="No network access")
def test_one_two_nx():
"""Can we create a TomoScanBase from a .nx master file containing
two acquisitions"""
@@ -44,6 +47,7 @@ def test_one_two_nx():
assert scan.entry == "/entry0000"
+@pytest.mark.skip(reason="No network access")
def test_two_nx():
"""Can we create two TomoScanBase from a .nx master file containing
two acquisitions using the Factory"""
|