Skip to content

Commit

Permalink
[pre-commit.ci] Apply automatic pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Jan 16, 2025
1 parent 6a40f7b commit 3eb2a4e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
8 changes: 6 additions & 2 deletions conda-store-server/tests/_internal/server/views/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
Expand All @@ -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
Expand Down

0 comments on commit 3eb2a4e

Please sign in to comment.