From 79397ec3989c964322c04abbaffe5d2732a6ea59 Mon Sep 17 00:00:00 2001 From: sneakers-the-rat Date: Mon, 9 Oct 2023 19:05:08 -0700 Subject: [PATCH] dict not list --- nwb_linkml/tests/fixtures.py | 2 +- nwb_linkml/tests/test_adapters/test_adapter_classes.py | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/nwb_linkml/tests/fixtures.py b/nwb_linkml/tests/fixtures.py index 2242a3c..5c529d8 100644 --- a/nwb_linkml/tests/fixtures.py +++ b/nwb_linkml/tests/fixtures.py @@ -294,4 +294,4 @@ def nwb_schema() -> NWBSchemaTest: ) ] ) - return NWBSchemaTest(datasets=[image], groups=[images]) + return NWBSchemaTest(datasets={'image':image}, groups={'images':images}) diff --git a/nwb_linkml/tests/test_adapters/test_adapter_classes.py b/nwb_linkml/tests/test_adapters/test_adapter_classes.py index 24c1fc1..85bb582 100644 --- a/nwb_linkml/tests/test_adapters/test_adapter_classes.py +++ b/nwb_linkml/tests/test_adapters/test_adapter_classes.py @@ -1,3 +1,5 @@ +import pdb + import pytest from ..fixtures import linkml_schema_bare, linkml_schema, nwb_schema @@ -8,4 +10,5 @@ def test_build_base(nwb_schema): # simplest case, nothing special here dset = DatasetAdapter(cls=nwb_schema.datasets['image']) + #pdb.set_trace() pass \ No newline at end of file