From 49262954dc342adb0200cd5a61ab409bd0acd6e1 Mon Sep 17 00:00:00 2001 From: Lucas Guillermou Date: Tue, 5 Nov 2024 17:32:39 +0100 Subject: [PATCH] change repo name of test_connectivity setup --- .../proposed_change/test_proposed_change_conflict.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/tests/integration/proposed_change/test_proposed_change_conflict.py b/backend/tests/integration/proposed_change/test_proposed_change_conflict.py index 99441a038b..fd16a3d57b 100644 --- a/backend/tests/integration/proposed_change/test_proposed_change_conflict.py +++ b/backend/tests/integration/proposed_change/test_proposed_change_conflict.py @@ -57,10 +57,10 @@ async def initial_dataset( await jesko.save(db=db) bus_simulator.service.cache = RedisCache() - FileRepo(name="car-dealership", sources_directory=git_repos_source_dir_module_scope) + FileRepo(name="dealership-car", sources_directory=git_repos_source_dir_module_scope) client_repository = await client.create( kind=InfrahubKind.REPOSITORY, - data={"name": "car-dealership", "location": f"{git_repos_source_dir_module_scope}/car-dealership"}, + data={"name": "dealership-car", "location": f"{git_repos_source_dir_module_scope}/dealership-car"}, ) await client_repository.save() return client_repository.id @@ -118,7 +118,7 @@ async def test_happy_pipeline(self, db: InfrahubDatabase, happy_dataset: None, c age_check = [validator for validator in peers.values() if validator.label.value == "Check: owner_age_check"][0] assert age_check.conclusion.value.value == ValidatorConclusion.SUCCESS.value repository_merge_conflict = [ - validator for validator in peers.values() if validator.label.value == "Repository Validator: car-dealership" + validator for validator in peers.values() if validator.label.value == "Repository Validator: dealership-car" ][0] assert repository_merge_conflict.conclusion.value.value == ValidatorConclusion.SUCCESS.value