James Ennis pushed to branch jennis/migrate_pull_push_commands at BuildStream / buildstream
Commits:
-
f941f93b
by James Ennis at 2019-01-08T13:09:01Z
2 changed files:
Changes:
... | ... | @@ -130,7 +130,8 @@ def test_buildtree_pulled(cli, tmpdir, datafiles): |
130 | 130 |
assert cli.get_element_state(project, element_name) != 'cached'
|
131 | 131 |
|
132 | 132 |
# Pull from cache, ensuring cli options is set to pull the buildtree
|
133 |
- result = cli.run(project=project, args=['--pull-buildtrees', 'artifact', 'pull', '--deps', 'all', element_name])
|
|
133 |
+ result = cli.run(project=project,
|
|
134 |
+ args=['--pull-buildtrees', 'artifact', 'pull', '--deps', 'all', element_name])
|
|
134 | 135 |
result.assert_success()
|
135 | 136 |
|
136 | 137 |
# Check it's using the cached build tree
|
... | ... | @@ -116,7 +116,7 @@ def test_pullbuildtrees(cli, tmpdir, datafiles, integration_cache): |
116 | 116 |
# successfully pushed to the remote. This will attempt to pull the buildtree
|
117 | 117 |
# from share1 and then a 'complete' push to share2
|
118 | 118 |
cli.configure({'artifacts': {'url': share1.repo, 'push': False}})
|
119 |
- result = cli.run(project=project, args=['--pull-buildtrees','artifact', 'pull', element_name])
|
|
119 |
+ result = cli.run(project=project, args=['--pull-buildtrees', 'artifact', 'pull', element_name])
|
|
120 | 120 |
assert element_name in result.get_pulled_elements()
|
121 | 121 |
cli.configure({'artifacts': {'url': share2.repo, 'push': True}})
|
122 | 122 |
result = cli.run(project=project, args=['artifact', 'push', element_name])
|