📣 Dash 2.6 Released - Background Callbacks, Unit Testing, Persistent Selections, Dropdown Features

I’m very excited about the addition of unit testing. I ran into an issue while trying to get it to work with the Pages functionality. When I import the tests, I see the following error:

src\pages\home.py:5: in <module>
.venv\lib\site-packages\dash\_pages.py:253: in register_page
.venv\lib\site-packages\dash\_validate.py:465: in validate_use_pages
    raise Exception("`dash.register_page()` must be called after app instantiation")
E   Exception: `dash.register_page()` must be called after app instantiation

Is there a way to ignore this error while running tests?