Skip to content

Commit

Permalink
minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernard A Boateng committed Apr 11, 2019
1 parent 6fd0aa4 commit d78b954
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/plugins/keyword_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
],
"quotes_not_required": [
'theapikeyforfoo:hopenobodyfindsthisone', # Characters between apikey and :
'password: ${link}', # Has a ${ followed by a }
],
},
"positives": {
Expand Down Expand Up @@ -80,9 +81,6 @@
'private_key "hopenobodyfindsthisone\';', # Double-quote does not match single-quote
'private_key \'hopenobodyfindsthisone";', # Single-quote does not match double-quote
],
"quotes_not_required": [
'password: ${link}', # Has a ${ followed by a }
],
},
"positives": {
"quotes_required": [
Expand All @@ -105,7 +103,6 @@
+ FOLLOWED_BY_EQUAL_SIGNS_RE.get("negatives").get("quotes_required")
+ FOLLOWED_BY_EQUAL_SIGNS_RE.get("negatives").get("quotes_not_required")
+ FOLLOWED_BY_QUOTES_AND_SEMICOLON_RE.get("negatives").get("quotes_required")
+ FOLLOWED_BY_QUOTES_AND_SEMICOLON_RE.get("negatives").get("quotes_not_required")
)
STANDARD_POSITIVES.extend(
FOLLOWED_BY_COLON_RE.get("positives").get("quotes_required")
Expand Down

0 comments on commit d78b954

Please sign in to comment.