mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-03 04:25:46 +00:00
Use mock api call
This commit is contained in:
@@ -10,6 +10,8 @@ from dotenv import load_dotenv
|
||||
from faker import Faker
|
||||
import logging
|
||||
|
||||
from features.steps.utils import clear_all_nock, restore_nock
|
||||
|
||||
load_dotenv()
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
@@ -205,3 +207,5 @@ def before_all(context: Context):
|
||||
def after_scenario(context: Context, scenario: typing.Any):
|
||||
if hasattr(context, "web_server"):
|
||||
context.web_server.shutdown_and_server_close()
|
||||
clear_all_nock(context)
|
||||
restore_nock(context)
|
||||
|
||||
Reference in New Issue
Block a user