diff options
author | Chandan Singh <csingh43@bloomberg.net> | 2019-11-11 18:51:09 +0000 |
---|---|---|
committer | bst-marge-bot <marge-bot@buildstream.build> | 2019-11-12 10:44:05 +0000 |
commit | 7b6847cd29d9b19dd6fd11dd73d89417f2dd207e (patch) | |
tree | d8ca1607ccde35d7cd5af20d2981dff0353b9a72 /tests | |
parent | bc9dff62c572a2f8bb0fffc07d6a6058576ed7fc (diff) | |
download | buildstream-7b6847cd29d9b19dd6fd11dd73d89417f2dd207e.tar.gz |
tests/frontend/completions: Fix implicit string concatenation
We expect `INVALID_ELEMENTS` to be a list of element names. However we
are missing a comma in between the names, so they end up being
concatenated into a single strings.
The test passes either way (which is not ideal) because it just checks
that the suggested completion is _different_ than the expected in case
of errors.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/frontend/completions.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/frontend/completions.py b/tests/frontend/completions.py index 5df873666..3352ddcc9 100644 --- a/tests/frontend/completions.py +++ b/tests/frontend/completions.py @@ -86,8 +86,8 @@ PROJECT_ELEMENTS = [ ] INVALID_ELEMENTS = [ - "target.foo" - "target.bst.bar" + "target.foo", + "target.bst.bar", ] MIXED_ELEMENTS = PROJECT_ELEMENTS + INVALID_ELEMENTS |