summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBenjamin Schubert <ben.c.schubert@gmail.com>2019-03-09 11:07:08 +0000
committerBenjamin Schubert <ben.c.schubert@gmail.com>2019-03-20 09:38:41 +0000
commit7e416e43695de45726fdef2e0134b55e565c130d (patch)
tree1f21ff9cd5b072f58e76faa8dd5f3790e85858f9 /tests
parentbbc5c972a11bd817a5d051aad6b5f791670b6812 (diff)
downloadbuildstream-7e416e43695de45726fdef2e0134b55e565c130d.tar.gz
tests: remove duplicated tests
The removed tests duplicate tests in the same file with the same name.
Diffstat (limited to 'tests')
-rw-r--r--tests/format/include.py13
-rw-r--r--tests/frontend/init.py8
2 files changed, 0 insertions, 21 deletions
diff --git a/tests/format/include.py b/tests/format/include.py
index d065f2447..c4fa9adb5 100644
--- a/tests/format/include.py
+++ b/tests/format/include.py
@@ -309,16 +309,3 @@ def test_local_to_junction(cli, tmpdir, datafiles):
result.assert_success()
loaded = _yaml.load_data(result.output)
assert loaded['included'] == 'True'
-
-
-@pytest.mark.datafiles(DATA_DIR)
-def test_include_project_file(cli, datafiles):
- project = os.path.join(str(datafiles), 'string')
- result = cli.run(project=project, args=[
- 'show',
- '--deps', 'none',
- '--format', '%{vars}',
- 'element.bst'])
- result.assert_success()
- loaded = _yaml.load_data(result.output)
- assert loaded['included'] == 'True'
diff --git a/tests/frontend/init.py b/tests/frontend/init.py
index b323a01c8..e5cab87fa 100644
--- a/tests/frontend/init.py
+++ b/tests/frontend/init.py
@@ -93,14 +93,6 @@ def test_bad_element_path(cli, tmpdir, element_path):
result.assert_main_error(ErrorDomain.APP, 'invalid-element-path')
-@pytest.mark.parametrize("element_path", [('/absolute/path'), ('../outside/of/project')])
-def test_bad_element_path(cli, tmpdir, element_path):
- result = cli.run(project=str(tmpdir), args=[
- 'init', '--project-name', 'foo', '--element-path', element_path
- ])
- result.assert_main_error(ErrorDomain.APP, 'invalid-element-path')
-
-
@pytest.mark.parametrize("element_path", [('foo'), ('foo/bar')])
def test_element_path_interactive(cli, tmp_path, monkeypatch, element_path):
project = tmp_path