diff --git a/musicbot/utils/userinteraction/test_centered_range.py b/musicbot/utils/userinteraction/test_navbar_range.py similarity index 99% rename from musicbot/utils/userinteraction/test_centered_range.py rename to musicbot/utils/userinteraction/test_navbar_range.py index 6b1256d..5c4d22c 100644 --- a/musicbot/utils/userinteraction/test_centered_range.py +++ b/musicbot/utils/userinteraction/test_navbar_range.py @@ -1,4 +1,3 @@ - from .navbar_range import NavBarRange diff --git a/pyproject.toml b/pyproject.toml index 65b708c..ab151a6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,9 @@ + + +# Required in order to make pytest handle imports correctly. +[tool.pytest.ini_options] +pythonpath = ["."] + [tool.ruff] # Allow lines to be as long as 120 characters. select = ["F", "E", "B", "W", "I001"]