From 7c8e259d73986ad120ab106adec741a8b6158bbb Mon Sep 17 00:00:00 2001 From: Edan Bainglass Date: Fri, 30 Aug 2024 13:01:55 +0000 Subject: [PATCH] Move test CSS to tests_notebooks dir --- .../static/styles/test.css | 0 tests_notebooks/test_notebook.ipynb | 7 +++---- 2 files changed, 3 insertions(+), 4 deletions(-) rename {aiidalab_widgets_base => tests_notebooks}/static/styles/test.css (100%) diff --git a/aiidalab_widgets_base/static/styles/test.css b/tests_notebooks/static/styles/test.css similarity index 100% rename from aiidalab_widgets_base/static/styles/test.css rename to tests_notebooks/static/styles/test.css diff --git a/tests_notebooks/test_notebook.ipynb b/tests_notebooks/test_notebook.ipynb index 861c98604..409800907 100644 --- a/tests_notebooks/test_notebook.ipynb +++ b/tests_notebooks/test_notebook.ipynb @@ -26,10 +26,9 @@ "metadata": {}, "outputs": [], "source": [ - "# DO NOT REMOVE!\n", - "# This triggers required jupyter-notebook specific actions.\n", - "# See `aiidalab_widgets_base.__init__.py` for details\n", - "import aiidalab_widgets_base" + "from aiidalab_widgets_base.utils.loaders import load_css\n", + "\n", + "load_css(css_path=\"./static/styles/test.css\")" ] }, {