Skip to content

Commit

Permalink
Fix linting issue-s
Browse files Browse the repository at this point in the history
  • Loading branch information
funilrys committed Sep 3, 2023
1 parent 8fc7f94 commit 33bd0df
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion testUpdateHostsFile.py
Original file line number Diff line number Diff line change
Expand Up @@ -908,7 +908,14 @@ def test_two_ips(self):
sys.stdout = StringIO()

def test_no_comment_raw(self):
for rule in ("twitter.com", "google.com", "foo.bar.edu", "www.example-foo.bar.edu", "www.example-3045.foobar.com", "www.example.xn--p1ai"):
for rule in (
"twitter.com",
"google.com",
"foo.bar.edu",
"www.example-foo.bar.edu",
"www.example-3045.foobar.com",
"www.example.xn--p1ai"
):
expected = (rule, "0.0.0.0 " + rule + "\n")

actual = normalize_rule(
Expand Down

0 comments on commit 33bd0df

Please sign in to comment.