Browse files

`get_test_bug` takes a title argument

  • Loading branch information...
1 parent 49b57db commit 2b0124f9e09a18928eee96aa214825809b7caee6 @mattbasta committed Jun 5, 2013
Showing with 3 additions and 4 deletions.
  1. +3 −4 validator/testcases/regex.py
View
7 validator/testcases/regex.py
@@ -231,17 +231,16 @@ def applicable(cls, err, filename, document):
return bool(re.match(r"defaults/preferences/.+\.js", filename))
def tests(self):
+ title = "Marionette access is disallowed"
for ref, bug in self.MARIONETTE_REFERENCES.items():
yield self.get_test_bug(
- bug,
- ref,
+ bug, ref, title,
"Marionette references are not allowed as it could lead to"
"the browser not being secure. Please remove them.")
for ref, bug in self.MARIONETTE_PREFS.items():
yield self.get_test_bug(
- bug,
- ref,
+ bug, ref, title,
"Marionette preferences are not allowed as it could lead to"
"the browser not being secure. Please remove them.")

0 comments on commit 2b0124f

Please sign in to comment.