Skip to content

Commit

Permalink
Ruff: Fix DefectDojo#11090
Browse files Browse the repository at this point in the history
  • Loading branch information
kiblik committed Oct 18, 2024
1 parent 6a13d2f commit 02e5504
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ select = [
"TRY003",
"TRY004",
"TRY2",
"TRY302",
"FLY",
"NPY",
"FAST",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import string

from django.test import TestCase

from dojo.models import Finding, Test
Expand Down Expand Up @@ -548,7 +550,7 @@ def test_appcheck_web_application_scanner_parser_non_printable_escape(self):
for test_string, expected in [
("", ""),
(
"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~ \t\n\r\x0b\x0c",
string.printable,
"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~ \t\n\r\\x0b\\x0c",
),
("'!Test String?'\"\"", "'!Test String?'\"\""),
Expand Down

0 comments on commit 02e5504

Please sign in to comment.