Skip to content

Commit

Permalink
Fix black format
Browse files Browse the repository at this point in the history
  • Loading branch information
maitre-matt committed Feb 26, 2025
1 parent a56810a commit 13bb359
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions tests/test_scanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,23 @@ def __reduce__(self):
'import os\nos.system("whoami")',
)


class Malicious16:
def __reduce__(self):
return pip.main, (
['install', 'some_malicious_package', '--no-input', '-q', '-q', '-q',
'--exists-action', 'i', '--isolated'],)
[
"install",
"some_malicious_package",
"--no-input",
"-q",
"-q",
"-q",
"--exists-action",
"i",
"--isolated",
],
)


class HTTPResponse:
def __init__(self, status, data=None):
Expand Down

0 comments on commit 13bb359

Please sign in to comment.