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 Nov 1, 2024
1 parent ca1c9a0 commit 471ceb7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

from conda_store_server import api
from conda_store_server._internal import environment, schema, utils
from conda_store_server._internal.worker.app import CondaStoreWorker
from conda_store_server._internal.worker.build import (
build_cleanup,
build_conda_docker,
Expand All @@ -26,7 +27,6 @@
build_constructor_installer,
solve_conda_environment,
)
from conda_store_server._internal.worker.app import CondaStoreWorker


@worker_ready.connect
Expand Down
8 changes: 5 additions & 3 deletions conda-store-server/tests/_internal/worker/test_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.

from conda_store_server._internal.worker import build
from conda_store_server._internal import schema
from conda_store_server import api
from conda_store_server._internal import schema
from conda_store_server._internal.worker import build


def test_build_started(db, seed_conda_store):
Expand Down Expand Up @@ -38,5 +38,7 @@ def test_build_completed(db, conda_store, seed_conda_store):
test_build = api.get_build(db, build_id=2)
assert test_build.status == schema.BuildStatus.COMPLETED
assert test_build.environment.current_build == test_build
build_artifact = api.get_build_artifact(db, 2, str(test_build.build_path(conda_store)))
build_artifact = api.get_build_artifact(
db, 2, str(test_build.build_path(conda_store))
)
assert build_artifact is not None

0 comments on commit 471ceb7

Please sign in to comment.