From de30f83edd6c9bd53d64abf875fe7e08cdb5e904 Mon Sep 17 00:00:00 2001 From: sneakers-the-rat Date: Tue, 2 Jul 2024 00:01:54 -0700 Subject: [PATCH] import fixtures --- nwb_linkml/tests/conftest.py | 2 ++ nwb_linkml/tests/fixtures.py | 13 +++++++++++++ 2 files changed, 15 insertions(+) diff --git a/nwb_linkml/tests/conftest.py b/nwb_linkml/tests/conftest.py index 1fe2004..183e742 100644 --- a/nwb_linkml/tests/conftest.py +++ b/nwb_linkml/tests/conftest.py @@ -5,6 +5,8 @@ import pytest from sybil import Sybil from sybil.parsers.rest import DocTestParser, PythonCodeBlockParser +from .fixtures import * # noqa: F403 + pytest_collect_file = Sybil( parsers=[ DocTestParser(optionflags=ELLIPSIS + NORMALIZE_WHITESPACE), diff --git a/nwb_linkml/tests/fixtures.py b/nwb_linkml/tests/fixtures.py index a857847..0490d89 100644 --- a/nwb_linkml/tests/fixtures.py +++ b/nwb_linkml/tests/fixtures.py @@ -17,6 +17,19 @@ from nwb_linkml.adapters.namespaces import NamespacesAdapter from nwb_linkml.io import schema as io from nwb_schema_language import Attribute, Dataset, Group +__all__ = [ + "NWBSchemaTest", + "TestSchemas", + "data_dir", + "linkml_schema", + "linkml_schema_bare", + "nwb_core_fixture", + "nwb_schema", + "tmp_output_dir", + "tmp_output_dir_func", + "tmp_output_dir_mod", +] + @pytest.fixture(scope="session") def tmp_output_dir() -> Path: