diff --git a/build_config/tests/test___init__.py b/build_config/tests/test___init__.py new file mode 100644 index 00000000..f9a9724a --- /dev/null +++ b/build_config/tests/test___init__.py @@ -0,0 +1,8 @@ +def test_draw_heatmap_package_imports(): + """Regression test for misspelled submodule import in draw_heatmap.__init__.""" + import accvlab.draw_heatmap + + assert hasattr(accvlab.draw_heatmap, "draw_heatmap") + assert hasattr(accvlab.draw_heatmap, "draw_heatmap_batched") + assert "draw_heatmap" in accvlab.draw_heatmap.__all__ + assert "draw_heatmap_batched" in accvlab.draw_heatmap.__all__ diff --git a/packages/draw_heatmap/accvlab/draw_heatmap/__init__.py b/packages/draw_heatmap/accvlab/draw_heatmap/__init__.py index 422e8dfe..ab0c31f3 100644 --- a/packages/draw_heatmap/accvlab/draw_heatmap/__init__.py +++ b/packages/draw_heatmap/accvlab/draw_heatmap/__init__.py @@ -19,6 +19,6 @@ except PackageNotFoundError: __version__ = "0.0.0" -from .funtions import draw_heatmap, draw_heatmap_batched +from .functions import draw_heatmap, draw_heatmap_batched __all__ = ["__version__", "draw_heatmap", "draw_heatmap_batched"]