diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2018-02-14 16:57:45 +0000 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2018-02-26 15:04:17 +0000 |
commit | ba4919a4347f630571a5d5248b455e3e344f8a6d (patch) | |
tree | 9c874fec27204aa2b6d1dcf9130fd61528d40027 /tests/frontend/push.py | |
parent | eae43fa4840b73293347f8bcbe4bf9e887ee7b1e (diff) | |
download | buildstream-ba4919a4347f630571a5d5248b455e3e344f8a6d.tar.gz |
tests/frontend: Summarize the existing push and pull tests
These tests are too long to understand at a glance so a summary is
needed of each.
Diffstat (limited to 'tests/frontend/push.py')
-rw-r--r-- | tests/frontend/push.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/frontend/push.py b/tests/frontend/push.py index e4f39de65..338a854c9 100644 --- a/tests/frontend/push.py +++ b/tests/frontend/push.py @@ -36,6 +36,11 @@ def assert_not_shared(cli, share, project, element_name): .format(share.repo, element_name)) +# Tests that: +# +# * `bst push` fails if there are no remotes configured for pushing +# * `bst push` successfully pushes to any remote that is configured for pushing +# @pytest.mark.datafiles(DATA_DIR) def test_push(cli, tmpdir, datafiles): project = str(datafiles) @@ -91,6 +96,8 @@ def test_push(cli, tmpdir, datafiles): assert_shared(cli, share2, project, 'target.bst') +# Tests that `bst push --deps all` pushes all dependencies of the given element. +# @pytest.mark.skipif(not IS_LINUX, reason='Only available on linux') @pytest.mark.datafiles(DATA_DIR) def test_push_all(cli, tmpdir, datafiles): |