Skip to content

Commit

Permalink
don't blanket-mock for basic module tests
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Nov 4, 2024
1 parent c386050 commit 9aebcae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bbot/test/test_step_1/test_modules_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

@pytest.mark.asyncio
async def test_modules_basic_checks(events, httpx_mock):
for http_method in ("GET", "CONNECT", "HEAD", "POST", "PUT", "TRACE", "DEBUG", "PATCH", "DELETE", "OPTIONS"):
httpx_mock.add_response(method=http_method, url=re.compile(r".*"), json={"test": "test"})
# for http_method in ("GET", "CONNECT", "HEAD", "POST", "PUT", "TRACE", "DEBUG", "PATCH", "DELETE", "OPTIONS"):
# httpx_mock.add_response(method=http_method, url=re.compile(r".*"), json={"test": "test"})

from bbot.scanner import Scanner

Expand Down

0 comments on commit 9aebcae

Please sign in to comment.