summaryrefslogtreecommitdiff
path: root/tests/cachekey
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2018-08-28 20:41:08 +0100
committerJavier Jardón <jjardon@gnome.org>2018-08-28 23:22:00 +0100
commit3ae5fd05d0b9b97448d40ba64c528f31f83c2915 (patch)
tree935e78b6c82b7a329683d3ef15e995a5c4906b0b /tests/cachekey
parentd3c32ca2f7d667c6d0ce5bc21118ef7cbd7cdc0a (diff)
downloadbuildstream-3ae5fd05d0b9b97448d40ba64c528f31f83c2915.tar.gz
Fix E305 warnings
Diffstat (limited to 'tests/cachekey')
-rw-r--r--tests/cachekey/cachekey.py1
-rwxr-xr-xtests/cachekey/update.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/cachekey/cachekey.py b/tests/cachekey/cachekey.py
index 21beef8fb..b1f8a9140 100644
--- a/tests/cachekey/cachekey.py
+++ b/tests/cachekey/cachekey.py
@@ -129,6 +129,7 @@ def assert_cache_keys(project_dir, output):
"Use tests/cachekey/update.py to automatically " +
"update this test case")
+
##############################################
# Test Entry Point #
##############################################
diff --git a/tests/cachekey/update.py b/tests/cachekey/update.py
index 09cf19657..8cbee444d 100755
--- a/tests/cachekey/update.py
+++ b/tests/cachekey/update.py
@@ -65,5 +65,6 @@ def update_keys():
write_expected_key(element_name, actual_keys[element_name])
+
if __name__ == '__main__':
update_keys()