Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
ostorlab committed Nov 10, 2023
1 parent 8412e8c commit 9c1fa2e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/exploits_test.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Unit tests for Agent Asteriod exploits"""
import datetime
import random

import requests
from pytest_mock import plugin
Expand Down Expand Up @@ -37,6 +36,7 @@ def side_effect(*args, **kwargs): # type: ignore[no-untyped-def]
== "A heap-based buffer overflow vulnerability in FortiOS"
)
assert (
"https://91.135.170.42:8443 is vulnerable to CVE-2023-27997, "
vulnerability.technical_detail
== "https://91.135.170.42:8443 is vulnerable to CVE-2023-27997, "
"A heap-based buffer overflow vulnerability in FortiOS"
)
1 change: 1 addition & 0 deletions tests/test-requirement.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ pytest
black
mypy
typing-extensions
pytest_mock

0 comments on commit 9c1fa2e

Please sign in to comment.