diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2019-01-11 14:11:26 -0500 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2019-01-16 18:35:21 -0500 |
commit | aa997450e889ddfba4a1768ecd9c00e16c6e0f10 (patch) | |
tree | 34e7912c58d46be723f47a379f60451a31cab335 | |
parent | a7fbd900d048ac0662653911f0e0238d2d1b76cf (diff) | |
download | buildstream-aa997450e889ddfba4a1768ecd9c00e16c6e0f10.tar.gz |
tests: Removing tests/pipeline/load.py
The remaining test simply loads a project with one element
and asserts a value on it. This is already sufficiently tested
in tests/format/project.py.
-rw-r--r-- | tests/pipeline/load.py | 18 | ||||
-rw-r--r-- | tests/pipeline/load/simple/project.conf | 3 | ||||
-rw-r--r-- | tests/pipeline/load/simple/simple.bst | 5 |
3 files changed, 0 insertions, 26 deletions
diff --git a/tests/pipeline/load.py b/tests/pipeline/load.py deleted file mode 100644 index 9f51d8e33..000000000 --- a/tests/pipeline/load.py +++ /dev/null @@ -1,18 +0,0 @@ -import os -import pytest -from buildstream._exceptions import ErrorDomain -from buildstream import _yaml -from tests.testutils.runcli import cli - -DATA_DIR = os.path.join( - os.path.dirname(os.path.realpath(__file__)), - 'load', -) - - -@pytest.mark.datafiles(os.path.join(DATA_DIR, 'simple')) -def test_load_simple(cli, datafiles): - basedir = os.path.join(datafiles.dirname, datafiles.basename) - result = cli.get_element_config(basedir, 'simple.bst') - - assert(result['configure-commands'][0] == 'pony') diff --git a/tests/pipeline/load/simple/project.conf b/tests/pipeline/load/simple/project.conf deleted file mode 100644 index 2027cc27a..000000000 --- a/tests/pipeline/load/simple/project.conf +++ /dev/null @@ -1,3 +0,0 @@ -# Basic project configuration that doesnt override anything -# -name: pony diff --git a/tests/pipeline/load/simple/simple.bst b/tests/pipeline/load/simple/simple.bst deleted file mode 100644 index cd1f73968..000000000 --- a/tests/pipeline/load/simple/simple.bst +++ /dev/null @@ -1,5 +0,0 @@ -kind: autotools -description: Some kinda autotools element -config: - configure-commands: - - pony |