From d5f26a33bfd49880563bd00a35e8bf40316b9db0 Mon Sep 17 00:00:00 2001 From: codycbakerphd Date: Tue, 30 Jan 2024 22:17:54 -0500 Subject: [PATCH] remove mock until we move to new pynwb permanently --- tests/test_inspector.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_inspector.py b/tests/test_inspector.py index b3e24f364..6bfe339ac 100644 --- a/tests/test_inspector.py +++ b/tests/test_inspector.py @@ -9,7 +9,6 @@ from pynwb import NWBFile, NWBHDF5IO, TimeSeries from pynwb.file import TimeIntervals, Subject from pynwb.behavior import SpatialSeries, Position -from pynwb.testing.mock.file import mock_NWBFile from hdmf.common import DynamicTable from natsort import natsorted @@ -731,8 +730,9 @@ def test_check_unique_identifiers_fail(self): def test_dandi_config_in_vitro_injection(): """Test that a subject_id starting with 'invitro' excludes meaningless CRITICAL-elevated subject checks.""" - nwbfile = mock_NWBFile( - subject=Subject(subject_id="invitroCaMPARI3", description="A detailed description about the in vitro setup.") + nwbfile = make_minimal_nwbfile() + nwbfile.subject = Subject( + subject_id="invitroCaMPARI3", description="A detailed description about the in vitro setup." ) config = load_config(filepath_or_keyword="dandi") importance_threshold = "CRITICAL"