This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch chandan/stack-stricter-warnings in repository https://gitbox.apache.org/repos/asf/buildstream.git
commit e215032919340667914c53c65efdd9d5c717d2d4 Author: Chandan Singh <[email protected]> AuthorDate: Tue Jul 16 15:19:31 2019 +0100 fixup! fixup! fixup! fixup! tests: Remove build dependencies from stack elements --- tests/frontend/track.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/frontend/track.py b/tests/frontend/track.py index a628043..aabcbed 100644 --- a/tests/frontend/track.py +++ b/tests/frontend/track.py @@ -260,7 +260,7 @@ def test_inconsistent_junction(cli, tmpdir, datafiles, ref_storage): # element = { 'kind': 'stack', - 'depends': [ + 'runtime-depends': [ { 'junction': 'junction.bst', 'filename': 'import-etc.bst' @@ -276,7 +276,7 @@ def test_inconsistent_junction(cli, tmpdir, datafiles, ref_storage): # Assert that we have the expected provenance encoded into the error element_node = _yaml.load(element_path, shortname='junction-dep.bst') - ref_node = element_node.get_sequence('depends').mapping_at(0) + ref_node = element_node.get_sequence('runtime-depends').mapping_at(0) provenance = ref_node.get_provenance() assert str(provenance) in result.stderr @@ -300,7 +300,7 @@ def test_junction_element(cli, tmpdir, datafiles, ref_storage): # element = { 'kind': 'stack', - 'depends': [ + 'runtime-depends': [ { 'junction': 'junction.bst', 'filename': 'import-etc.bst' @@ -315,7 +315,7 @@ def test_junction_element(cli, tmpdir, datafiles, ref_storage): # Assert that we have the expected provenance encoded into the error element_node = _yaml.load(element_path, shortname='junction-dep.bst') - ref_node = element_node.get_sequence('depends').mapping_at(0) + ref_node = element_node.get_sequence('runtime-depends').mapping_at(0) provenance = ref_node.get_provenance() assert str(provenance) in result.stderr
