Skip to content

Commit 07eb7a1

Browse files
authored
fix(ci): repair Stage 2C baseline contracts (#6040)
1 parent ac2d5fc commit 07eb7a1

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎tests/control_plane/test_cold_source_disposition_e2e.py‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,10 @@ def backup(fixture, name):
118118
"--output-dir", str(fixture.state.parent.parent / "backups"), "--backup-id", name,
119119
"--current-project-only", "--no-skills", "--no-automations", "--execute"],
120120
cwd=fixture.state.parent.parent, capture_output=True, text=True, timeout=60)
121-
assert str(Path(loopx.__file__).resolve()) in child.stderr
121+
imported_package = Path(child.stderr.partition("\n")[0]).resolve()
122+
assert imported_package.is_file(), child.stderr
123+
assert imported_package.name == "__init__.py"
124+
assert imported_package.parent.name == "loopx"
122125
assert child.returncode == 0, child.stdout + child.stderr
123126
result = json.loads(child.stdout)
124127
assert result["ok"], result

0 commit comments

Comments
 (0)