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:
parent
e501653c33
commit
2eede8acf2
|
@ -1960,16 +1960,16 @@ def test_import_project_release_dir(tmpdir):
|
||||||
f'''\
|
f'''\
|
||||||
manifest:
|
manifest:
|
||||||
projects:
|
projects:
|
||||||
- name: west.d/1.yml-p1
|
- name: west.d_1.yml-p1
|
||||||
url: {empty_project}
|
url: {empty_project}
|
||||||
- name: west.d/1.yml-p2
|
- name: west.d_1.yml-p2
|
||||||
url: {empty_project}
|
url: {empty_project}
|
||||||
''',
|
''',
|
||||||
'test.d/2.yml':
|
'test.d/2.yml':
|
||||||
f'''\
|
f'''\
|
||||||
manifest:
|
manifest:
|
||||||
projects:
|
projects:
|
||||||
- name: west.d/2.yml-p1
|
- name: west.d_2.yml-p1
|
||||||
url: {empty_project}
|
url: {empty_project}
|
||||||
'''})
|
'''})
|
||||||
add_tag(imported, 'import-tag')
|
add_tag(imported, 'import-tag')
|
||||||
|
@ -1997,9 +1997,9 @@ def test_import_project_release_dir(tmpdir):
|
||||||
expected = [ManifestProject(path='mp', topdir=ws),
|
expected = [ManifestProject(path='mp', topdir=ws),
|
||||||
Project('imported', imported,
|
Project('imported', imported,
|
||||||
revision='import-tag', topdir=ws),
|
revision='import-tag', topdir=ws),
|
||||||
Project('west.d/1.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_1.yml-p2', empty_project, topdir=ws),
|
||||||
Project('west.d/2.yml-p1', empty_project, topdir=ws)]
|
Project('west.d_2.yml-p1', empty_project, topdir=ws)]
|
||||||
for a, e in zip(actual, expected):
|
for a, e in zip(actual, expected):
|
||||||
check_proj_consistency(a, e)
|
check_proj_consistency(a, e)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue