Skip to content

Commit

Permalink
feat: turn off socket connections for unit tests
Browse files Browse the repository at this point in the history
this is needed since we don't want to allow unit tests to go out to the internet
  • Loading branch information
lalver1 committed Dec 10, 2024
1 parent 3bb86c5 commit 9f8ab8f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/pytest/conftest.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from pytest_socket import disable_socket


def pytest_runtest_setup():
disable_socket()

0 comments on commit 9f8ab8f

Please sign in to comment.