Skip to content

Commit

Permalink
Explicitly add function_app.py to python path
Browse files Browse the repository at this point in the history
  • Loading branch information
ReinderVosDeWael committed May 9, 2024
1 parent d8c7829 commit c02d1d1
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion tests/smoke/test_function_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,18 @@

import inspect
import json
import sys

import function_app
from azure.functions.decorators import function_app as azure_function_app

import ctk_functions
import ctk_functions.config

repository_root = ctk_functions.__file__.parent.parent.parent
sys.path.insert(0, repository_root)

import function_app # noqa: E402


def get_function_auth_level(
function: azure_function_app.FunctionBuilder,
Expand Down

0 comments on commit c02d1d1

Please sign in to comment.