Skip to content

Commit

Permalink
fix ophys error
Browse files Browse the repository at this point in the history
  • Loading branch information
h-mayorquin committed Jul 11, 2024
1 parent fdb6ca1 commit 076ffb5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/test_ophys/test_ophys_interfaces.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import tempfile
import unittest
from pathlib import Path

from pynwb.testing.mock.file import mock_NWBFile

Expand All @@ -10,7 +12,10 @@ def setUp(self):
self.mock_imaging_interface = MockImagingInterface()

def test_run_conversion(self):
self.mock_imaging_interface.run_conversion()

with tempfile.TemporaryDirectory() as tmpdir:
nwbfile_path = Path(tmpdir) / "test.nwb"
self.mock_imaging_interface.run_conversion(nwbfile_path=nwbfile_path)

def test_add_to_nwbfile(self):
nwbfile = mock_NWBFile()
Expand Down

0 comments on commit 076ffb5

Please sign in to comment.