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 <sigmaepsilon92@gmail.com>
This commit is contained in:
Michael Zimmermann 2021-07-28 20:56:19 +02:00 committed by Marti Bolivar
parent e501653c33
commit 2eede8acf2
1 changed files with 6 additions and 6 deletions

View File

@ -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)