diff --git a/tests/tests_deployment/test_dask_gateway.py b/tests/tests_deployment/test_dask_gateway.py index 417056c43d..0041a7a32a 100644 --- a/tests/tests_deployment/test_dask_gateway.py +++ b/tests/tests_deployment/test_dask_gateway.py @@ -2,7 +2,6 @@ import dask_gateway import pytest - from tests_deployment import constants from tests_deployment.utils import get_jupyterhub_token, monkeypatch_ssl_context diff --git a/tests/tests_deployment/test_jupyterhub_ssh.py b/tests/tests_deployment/test_jupyterhub_ssh.py index b1c3691f55..4d89a49bc5 100644 --- a/tests/tests_deployment/test_jupyterhub_ssh.py +++ b/tests/tests_deployment/test_jupyterhub_ssh.py @@ -3,7 +3,6 @@ import paramiko import pytest - from tests_deployment import constants from tests_deployment.utils import ( escape_string, diff --git a/tests/tests_deployment/utils.py b/tests/tests_deployment/utils.py index dd28ff7992..fe3b5748ae 100644 --- a/tests/tests_deployment/utils.py +++ b/tests/tests_deployment/utils.py @@ -4,7 +4,6 @@ import escapism import requests - from tests_deployment import constants diff --git a/tests/tests_e2e/playwright/fixtures.py b/tests/tests_e2e/playwright/fixtures.py index 15e088f68f..20c26fda63 100644 --- a/tests/tests_e2e/playwright/fixtures.py +++ b/tests/tests_e2e/playwright/fixtures.py @@ -4,10 +4,8 @@ import dotenv import pytest - from tests_e2e.playwright.navigator import Navigator - logger = logging.getLogger() diff --git a/tests/tests_integration/deployment_fixtures.py b/tests/tests_integration/deployment_fixtures.py index f87ab6fb38..f817bdd749 100644 --- a/tests/tests_integration/deployment_fixtures.py +++ b/tests/tests_integration/deployment_fixtures.py @@ -7,12 +7,12 @@ import pytest import yaml +from tests.utils import render_config_partial from urllib3.exceptions import InsecureRequestWarning from _nebari.deploy import deploy_configuration from _nebari.destroy import destroy_configuration from _nebari.render import render_template -from tests.utils import render_config_partial DEPLOYMENT_DIR = "_test_deploy" diff --git a/tests/tests_integration/test_integration.py b/tests/tests_integration/test_integration.py index 5c6beab9b9..e1f6f05919 100644 --- a/tests/tests_integration/test_integration.py +++ b/tests/tests_integration/test_integration.py @@ -1,6 +1,5 @@ import pytest import requests - from tests_integration.deployment_fixtures import ignore_warnings, on_cloud diff --git a/tests/tests_unit/conftest.py b/tests/tests_unit/conftest.py index 65abddf335..441364f46f 100644 --- a/tests/tests_unit/conftest.py +++ b/tests/tests_unit/conftest.py @@ -1,7 +1,6 @@ from unittest.mock import Mock import pytest - from tests.utils import INIT_INPUTS, NEBARI_CONFIG_FN, PRESERVED_DIR