summaryrefslogtreecommitdiff
path: root/tests/frontend/pull.py
diff options
context:
space:
mode:
authorBenjamin Schubert <ben.c.schubert@gmail.com>2019-03-09 11:33:13 +0000
committerBenjamin Schubert <ben.c.schubert@gmail.com>2019-03-20 09:38:42 +0000
commit377a1cc949037507e64affcc9ba19916f55aa09d (patch)
tree6cb7b7d77202918f1676bd2d79df06e177350a9c /tests/frontend/pull.py
parent010d10b611e5288ac9a105bce3efcfe85f01ba9f (diff)
downloadbuildstream-377a1cc949037507e64affcc9ba19916f55aa09d.tar.gz
tests:lint: remove all len comparisons existence check
We should be using "assert not list" and not "assert len(list) == 0"
Diffstat (limited to 'tests/frontend/pull.py')
-rw-r--r--tests/frontend/pull.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/frontend/pull.py b/tests/frontend/pull.py
index b24cb22f3..dbc577641 100644
--- a/tests/frontend/pull.py
+++ b/tests/frontend/pull.py
@@ -387,7 +387,7 @@ def test_pull_missing_blob(cli, tmpdir, datafiles):
result.assert_success()
# Assert that no artifacts were pulled
- assert len(result.get_pulled_elements()) == 0
+ assert not result.get_pulled_elements()
@pytest.mark.datafiles(DATA_DIR)