From 3eb2a4e27b2ef95ff2a6d0a160221f55ad032018 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 16 Jan 2025 00:29:05 +0000 Subject: [PATCH] [pre-commit.ci] Apply automatic pre-commit fixes --- .../test_8c5abec6e601_add_build_archived_on_column.py | 3 +-- .../tests/_internal/server/views/test_api.py | 8 ++++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/conda-store-server/tests/_internal/alembic/version/test_8c5abec6e601_add_build_archived_on_column.py b/conda-store-server/tests/_internal/alembic/version/test_8c5abec6e601_add_build_archived_on_column.py index b486a0015..04c23fe29 100644 --- a/conda-store-server/tests/_internal/alembic/version/test_8c5abec6e601_add_build_archived_on_column.py +++ b/conda-store-server/tests/_internal/alembic/version/test_8c5abec6e601_add_build_archived_on_column.py @@ -2,14 +2,13 @@ # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. -import pytest import datetime +import pytest from sqlalchemy import text from sqlalchemy.exc import OperationalError from conda_store_server import api -from conda_store_server._internal import orm def test_add_build_archived_on_column_basic( diff --git a/conda-store-server/tests/_internal/server/views/test_api.py b/conda-store-server/tests/_internal/server/views/test_api.py index a52ed48ba..56d874498 100644 --- a/conda-store-server/tests/_internal/server/views/test_api.py +++ b/conda-store-server/tests/_internal/server/views/test_api.py @@ -846,7 +846,9 @@ def test_delete_build_unauth(testclient, seed_conda_store): assert r.status == schema.APIStatus.ERROR -def test_delete_build_auth_queued_build(testclient, seed_conda_store, authenticate, celery_worker): +def test_delete_build_auth_queued_build( + testclient, seed_conda_store, authenticate, celery_worker +): build_id = 4 response = testclient.put(f"api/v1/build/{build_id}") @@ -867,7 +869,9 @@ def test_delete_build_auth_queued_build(testclient, seed_conda_store, authentica assert response.status_code == 400 -def test_delete_build_auth_completed_build(testclient, seed_conda_store, authenticate, celery_worker): +def test_delete_build_auth_completed_build( + testclient, seed_conda_store, authenticate, celery_worker +): new_build_id = 4 # ensure the build exists - seed_conda_store should create a build