From 6a3474eaeb083d9c580bfa75cdf3dd74a0ac9fdb Mon Sep 17 00:00:00 2001 From: Ryan Ly Date: Sat, 1 Jul 2023 10:57:37 -0700 Subject: [PATCH] Add OtherIO.can_read method to tests (#102) --- CHANGELOG.md | 11 ++++++----- tests/unit/base_tests_zarrio.py | 4 ++++ 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 595f43a5..055b5dcd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,20 +4,21 @@ ### New Features * Added support, tests, and docs for using ``DirectoryStore``, ``TempStore``, and - ``NestedDirectoryStore`` Zarr storage backends with ``ZarrIO`` and ``NWBZarrIO`` + ``NestedDirectoryStore`` Zarr storage backends with ``ZarrIO`` and ``NWBZarrIO``. @oruebel [#62](https://github.com/hdmf-dev/hdmf-zarr/pull/62) ### Minor enhancements * Updated handling of references on read to simplify future integration of file-based Zarr - stores (e.g., ZipStore or database stores) @oruebel [#62](https://github.com/hdmf-dev/hdmf-zarr/pull/62) -* Added can_read classmethod to ZarrIO. @bendichter [#97](https://github.com/hdmf-dev/hdmf-zarr/pull/97) + stores (e.g., ZipStore or database stores). @oruebel [#62](https://github.com/hdmf-dev/hdmf-zarr/pull/62) +* Added ``can_read`` classmethod to ``ZarrIO``. @bendichter [#97](https://github.com/hdmf-dev/hdmf-zarr/pull/97) ### Test suite enhancements -* Modularized unit tests to simplify running tests for multiple Zarr storage backends +* Modularized unit tests to simplify running tests for multiple Zarr storage backends. @oruebel [#62](https://github.com/hdmf-dev/hdmf-zarr/pull/62) +* Updated tests to handle upcoming changes to ``HDMFIO``. @rly [#102](https://github.com/hdmf-dev/hdmf-zarr/pull/102) ### Docs -* Added developer documentation on how to integrate new storage backends with ZarrIO +* Added developer documentation on how to integrate new storage backends with ZarrIO. @oruebel [#62](https://github.com/hdmf-dev/hdmf-zarr/pull/62) ### API Changes diff --git a/tests/unit/base_tests_zarrio.py b/tests/unit/base_tests_zarrio.py index 6b1c7005..8c06e44d 100644 --- a/tests/unit/base_tests_zarrio.py +++ b/tests/unit/base_tests_zarrio.py @@ -1434,6 +1434,10 @@ def test_non_manager_container(self): class OtherIO(HDMFIO): + @staticmethod + def can_read(path): + pass + def read_builder(self): pass