From 2eede8acf2708948cb11947d1ed2ba55da338836 Mon Sep 17 00:00:00 2001 From: Michael Zimmermann Date: Wed, 28 Jul 2021 20:56:19 +0200 Subject: [PATCH] test_import_project_release_dir: remove `/` from project names we're about to deny these which would start to fail this test. Signed-off-by: Michael Zimmermann --- tests/test_project.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/test_project.py b/tests/test_project.py index cbd9955..6fde853 100644 --- a/tests/test_project.py +++ b/tests/test_project.py @@ -1960,16 +1960,16 @@ def test_import_project_release_dir(tmpdir): f'''\ manifest: projects: - - name: west.d/1.yml-p1 + - name: west.d_1.yml-p1 url: {empty_project} - - name: west.d/1.yml-p2 + - name: west.d_1.yml-p2 url: {empty_project} ''', 'test.d/2.yml': f'''\ manifest: projects: - - name: west.d/2.yml-p1 + - name: west.d_2.yml-p1 url: {empty_project} '''}) add_tag(imported, 'import-tag') @@ -1997,9 +1997,9 @@ def test_import_project_release_dir(tmpdir): expected = [ManifestProject(path='mp', topdir=ws), Project('imported', imported, revision='import-tag', topdir=ws), - Project('west.d/1.yml-p1', empty_project, topdir=ws), - Project('west.d/1.yml-p2', empty_project, topdir=ws), - Project('west.d/2.yml-p1', empty_project, topdir=ws)] + Project('west.d_1.yml-p1', empty_project, topdir=ws), + Project('west.d_1.yml-p2', empty_project, topdir=ws), + Project('west.d_2.yml-p1', empty_project, topdir=ws)] for a, e in zip(actual, expected): check_proj_consistency(a, e)