Skip to content

Commit

Permalink
fix(QA/hhfm.py): get rid of some serious doofus
Browse files Browse the repository at this point in the history
Spotted re-reading the diff.
  • Loading branch information
bassosimone committed Jul 24, 2020
1 parent c4ca004 commit 89d8438
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions QA/hhfm.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ def hhfm_transparent_proxy(ooni_exe, outfile):
# The proxy sees a domain that does not make any sense and does not
# otherwise know where to connect to. Hence the most likely result is
# a `dns_nxdomain_error` with total tampering.
tk["header_field_name"] = False
tk["header_field_number"] = False
tk["header_field_value"] = False
tk["header_name_capitalization"] = False
tk["header_name_diff"] = True
tk["request_line_capitalization"] = False
tk["total"] = True
assert tk["tampering"]["header_field_name"] == False
assert tk["tampering"]["header_field_number"] == False
assert tk["tampering"]["header_field_value"] == False
assert tk["tampering"]["header_name_capitalization"] == False
assert tk["tampering"]["header_name_diff"] == []
assert tk["tampering"]["request_line_capitalization"] == False
assert tk["tampering"]["total"] == True


def main():
Expand Down

0 comments on commit 89d8438

Please sign in to comment.