Permalink
Browse files

Merge pull request #202 from wraithan/harness-options

remove zip_path check due to false errors
  • Loading branch information...
2 parents c994fd5 + 9a77526 commit 8893e3817b7a9ab559fbd0a90ea0ab30f56c4b9b @mattbasta committed May 23, 2013
Showing with 0 additions and 13 deletions.
  1. +0 −13 validator/testcases/jetpack.py
View
13 validator/testcases/jetpack.py
@@ -174,19 +174,6 @@ def inspect_jetpack(err, xpi_package, allow_old_sdk=False):
uri = uri[11:]
zip_path = "resources/%s" % uri.replace("@", "-at-")
- # Check the zipname element if it exists.
- if zip_path not in xpi_package:
- err.warning(
- err_id=("testcases_jetpack",
- "inspect_jetpack",
- "missing_jetpack_module"),
- warning="Missing Jetpack module",
- description=["A Jetpack module listed in harness-options.json "
- "could not be found in the add-on.",
- "Path: %s" % zip_path],
- filename="harness-options.json")
- continue
-
blob_hash = hashlib.sha256(xpi_package.read(zip_path)).hexdigest()
file_hashes[zip_path] = blob_hash

0 comments on commit 8893e38

Please sign in to comment.