summaryrefslogtreecommitdiff
path: root/tests/frontend
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/frontend
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/frontend')
-rw-r--r--tests/frontend/init.py8
1 files changed, 0 insertions, 8 deletions
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