From 8aae577137f7614dc0889d0527cc25d6d078b68e Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Sat, 7 Nov 2020 08:50:25 +0000 Subject: Running tests without network --- .guix-test | 2 +- test/test_shex.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.guix-test b/.guix-test index b7b9ab3..362fe8b 100644 --- a/.guix-test +++ b/.guix-test @@ -8,4 +8,4 @@ export GUILE_LOAD_COMPILED_PATH=$GUIX_PROFILE/share/guile/site/3.0/ ls $GUILE_LOAD_PATH -env GUIX_PACKAGE_PATH=~/iwrk/opensource/guix/guix-bioinformatics/ $GUIX_PROFILE/bin/guix environment -C guix --ad-hoc git python python-flask python-pyyaml python-pycurl python-magic nss-certs python-pyshex python-pyyaml --network openssl python-pyshex python-pyshexc minimap2 python-schema-salad python-arvados-python-client -- python3 test/test_shex.py +env GUIX_PACKAGE_PATH=~/iwrk/opensource/guix/guix-bioinformatics/ $GUIX_PROFILE/bin/guix environment -C guix --ad-hoc git python python-flask python-pyyaml python-pycurl python-magic nss-certs python-pyshex python-pyyaml openssl python-pyshex python-pyshexc minimap2 python-schema-salad python-arvados-python-client -- python3 test/test_shex.py diff --git a/test/test_shex.py b/test/test_shex.py index ead2396..e094184 100644 --- a/test/test_shex.py +++ b/test/test_shex.py @@ -12,7 +12,7 @@ class TestStringMethods(unittest.TestCase): def test_schema(self): with open("bh20sequploader/bh20seq-schema.yml") as schema_resource: - metadata_schema = schema_salad.schema.load_schema("https://raw.githubusercontent.com/arvados/bh20-seq-resource/master/bh20sequploader/bh20seq-schema.yml") + metadata_schema = schema_salad.schema.load_schema("bh20sequploader/bh20seq-schema.yml") (document_loader, avsc_names, schema_metadata, -- cgit v1.2.3