Skip to content

Commit

Permalink
Try to fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
jopemachine committed Feb 21, 2024
1 parent 14f2da3 commit 992a163
Show file tree
Hide file tree
Showing 3 changed files with 241 additions and 167 deletions.
2 changes: 2 additions & 0 deletions src/ai/backend/manager/models/container_registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,8 @@ async def mutate(

input_config: Dict[str, Any] = {}

# Question: Can we also change the hostname here (through props)?
# If it should be possible, we should add the hostname to the `ModifyContainerRegistryInput`
set_if_set(props, input_config, "url")
set_if_set(props, input_config, "type")
set_if_set(props, input_config, "username")
Expand Down
2 changes: 1 addition & 1 deletion tests/manager/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ async def clean_fixture():
await conn.execute((users.delete()))
await conn.execute((scaling_groups.delete()))
await conn.execute((domains.delete()))
await conn.execute((load_table(engine, "container_registries").delete()))
await conn.execute(((await load_table(engine, "container_registries")).delete()))
finally:
await engine.dispose()

Expand Down

0 comments on commit 992a163

Please sign in to comment.