File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
services/director-v2/tests/unit/with_dbs Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ def fake_collection_run_id(faker: Faker) -> CollectionRunID:
154154async def create_comp_run (
155155 sqlalchemy_async_engine : AsyncEngine ,
156156 run_metadata : RunMetadataDict ,
157- fake_collection_run_id : CollectionRunID ,
157+ faker : Faker ,
158158) -> AsyncIterator [Callable [..., Awaitable [CompRunsAtDB ]]]:
159159 created_run_ids : list [int ] = []
160160
@@ -169,7 +169,7 @@ async def _(
169169 "metadata" : jsonable_encoder (run_metadata ),
170170 "use_on_demand_clusters" : False ,
171171 "dag_adjacency_list" : {},
172- "collection_run_id" : f" { fake_collection_run_id } " ,
172+ "collection_run_id" : faker . uuid4 () ,
173173 }
174174 run_config .update (** run_kwargs )
175175 async with sqlalchemy_async_engine .begin () as conn :
You can’t perform that action at this time.
0 commit comments