Revert "twister: tests: Add unit tests for names of external and module tests"

This reverts commit 45e1ff94cd.

This is not needed after removal of namespacing.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2023-01-22 16:58:59 +00:00
commit eb56ea4d42

View file

@ -104,30 +104,6 @@ TESTDATA_3 = [
'test_a.check_1.check_2',
'test_a.check_1.check_2'
),
(
os.path.join(ZEPHYR_BASE, '..', 'module_A', 'samples', 'hello_world'),
os.path.join(ZEPHYR_BASE, '..', 'module_A', 'samples', 'hello_world'),
'test_c.check_1',
'module_A/samples/hello_world/test_c.check_1'
),
(
os.path.join(ZEPHYR_BASE, '..', 'module_A'),
os.path.join(ZEPHYR_BASE, '..', 'module_A', 'samples', 'hello_world'),
'test_c.check_2',
'module_A/samples/hello_world/test_c.check_2'
),
(
os.path.join(ZEPHYR_BASE, '..', '..', 'my_own_zephyr', 'samples', 'hello_world'),
os.path.join(ZEPHYR_BASE, '..', '..', 'my_own_zephyr', 'samples', 'hello_world'),
'test_c.check_1',
'external/my_own_zephyr/samples/hello_world/test_c.check_1'
),
(
os.path.join(ZEPHYR_BASE, '..', '..', 'my_own_zephyr'),
os.path.join(ZEPHYR_BASE, '..', '..', 'my_own_zephyr', 'samples', 'hello_world'),
'test_c.check_2',
'external/my_own_zephyr/samples/hello_world/test_c.check_2'
),
]
@pytest.mark.parametrize("testsuite_root, suite_path, name, expected", TESTDATA_3)
def test_get_unique(testsuite_root, suite_path, name, expected):