diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-11-04 18:17:23 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-11-04 18:17:23 +0900 |
commit | 46ff3182e7036eb1acf72e2ec991ee043462a316 (patch) | |
tree | 8739869fbb475f69a44897b278cb5f2a5f0ec79b /tests | |
parent | 755e7c8a593417a28641d2cc09bb709a03676783 (diff) | |
download | buildstream-46ff3182e7036eb1acf72e2ec991ee043462a316.tar.gz |
tests/sources/local.py: Removed some more unneeded steps in the test
Diffstat (limited to 'tests')
-rw-r--r-- | tests/sources/local.py | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/tests/sources/local.py b/tests/sources/local.py index 4336c62ec..02d132986 100644 --- a/tests/sources/local.py +++ b/tests/sources/local.py @@ -31,11 +31,7 @@ def test_stage_file(cli, tmpdir, datafiles): project = os.path.join(datafiles.dirname, datafiles.basename) checkoutdir = os.path.join(str(tmpdir), "checkout") - # Track, fetch, build, checkout - result = cli.run(project=project, args=['track', 'target.bst']) - assert result.exit_code == 0 - result = cli.run(project=project, args=['fetch', 'target.bst']) - assert result.exit_code == 0 + # Build, checkout result = cli.run(project=project, args=['build', 'target.bst']) assert result.exit_code == 0 result = cli.run(project=project, args=['checkout', 'target.bst', checkoutdir]) @@ -50,11 +46,7 @@ def test_stage_directory(cli, tmpdir, datafiles): project = os.path.join(datafiles.dirname, datafiles.basename) checkoutdir = os.path.join(str(tmpdir), "checkout") - # Track, fetch, build, checkout - result = cli.run(project=project, args=['track', 'target.bst']) - assert result.exit_code == 0 - result = cli.run(project=project, args=['fetch', 'target.bst']) - assert result.exit_code == 0 + # Build, checkout result = cli.run(project=project, args=['build', 'target.bst']) assert result.exit_code == 0 result = cli.run(project=project, args=['checkout', 'target.bst', checkoutdir]) |