summaryrefslogtreecommitdiff
path: root/tests/integration/source-determinism.py
diff options
context:
space:
mode:
authorBenjamin Schubert <ben.c.schubert@gmail.com>2019-03-01 11:11:15 +0000
committerbst-marge-bot <marge-bot@buildstream.build>2019-03-01 18:28:36 +0000
commitff059b8b9852054f6669bb8bdeb6945ff0631b70 (patch)
tree90a0a943f1a0565220032fdc5c7a789de88a51a8 /tests/integration/source-determinism.py
parent1eba1fed210d9814a06ef2b9a24610132b18235c (diff)
downloadbuildstream-ff059b8b9852054f6669bb8bdeb6945ff0631b70.tar.gz
Use [a, b, *c] instead of [a, b] + c when building listbschubert/more-pythonic-list-concat
This pattern is available from python3.5 and provides a simpler understanding of what is going on
Diffstat (limited to 'tests/integration/source-determinism.py')
-rw-r--r--tests/integration/source-determinism.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/source-determinism.py b/tests/integration/source-determinism.py
index 0b69346cd..8ab11615a 100644
--- a/tests/integration/source-determinism.py
+++ b/tests/integration/source-determinism.py
@@ -29,7 +29,7 @@ def create_test_directory(*path, mode=0o644):
@pytest.mark.integration
@pytest.mark.datafiles(DATA_DIR)
-@pytest.mark.parametrize("kind", [(kind) for kind in ALL_REPO_KINDS] + ['local'])
+@pytest.mark.parametrize("kind", ['local', *ALL_REPO_KINDS])
@pytest.mark.skipif(not HAVE_SANDBOX, reason='Only available with a functioning sandbox')
def test_deterministic_source_umask(cli, tmpdir, datafiles, kind):
project = str(datafiles)