Fix imports
All checks were successful
Lint Checks / Run linter (pull_request) Successful in 31s
Deploy Test / Run deploy test suite (pull_request) Successful in 4m46s
K8s Deployment Control Test / Run deployment control suite on kind/k8s (pull_request) Successful in 6m8s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 7m46s
Webapp Test / Run webapp test suite (pull_request) Successful in 5m1s
Smoke Test / Run basic test suite (pull_request) Successful in 4m0s
All checks were successful
Lint Checks / Run linter (pull_request) Successful in 31s
Deploy Test / Run deploy test suite (pull_request) Successful in 4m46s
K8s Deployment Control Test / Run deployment control suite on kind/k8s (pull_request) Successful in 6m8s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 7m46s
Webapp Test / Run webapp test suite (pull_request) Successful in 5m1s
Smoke Test / Run basic test suite (pull_request) Successful in 4m0s
This commit is contained in:
parent
08109355bc
commit
19e1ce211b
@ -24,8 +24,8 @@ import requests
|
|||||||
import yaml
|
import yaml
|
||||||
|
|
||||||
from stack_orchestrator.deploy.webapp.util import (
|
from stack_orchestrator.deploy.webapp.util import (
|
||||||
AUCTION_STATUS_COMPLETED,
|
|
||||||
AUCTION_KIND_PROVIDER,
|
AUCTION_KIND_PROVIDER,
|
||||||
|
AuctionStatus,
|
||||||
LaconicRegistryClient,
|
LaconicRegistryClient,
|
||||||
)
|
)
|
||||||
from dotenv import dotenv_values
|
from dotenv import dotenv_values
|
||||||
@ -117,7 +117,7 @@ def command( # noqa: C901
|
|||||||
fatal(f"Auction kind needs to be ${AUCTION_KIND_PROVIDER}, got {auction.kind}")
|
fatal(f"Auction kind needs to be ${AUCTION_KIND_PROVIDER}, got {auction.kind}")
|
||||||
|
|
||||||
# Check auction status
|
# Check auction status
|
||||||
if auction.status != AUCTION_STATUS_COMPLETED:
|
if auction.status != AuctionStatus.COMPLETED:
|
||||||
fatal(f"Auction {auction_id} not completed yet, status {auction.status}")
|
fatal(f"Auction {auction_id} not completed yet, status {auction.status}")
|
||||||
|
|
||||||
# Check that winner list is not empty
|
# Check that winner list is not empty
|
||||||
|
Loading…
Reference in New Issue
Block a user