Skip to content

Commit e7c6b89

Browse files
fix: Imports
1 parent 5418acf commit e7c6b89

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

tests/test_endpoints_splitter.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,17 @@
2323
import base64
2424
from pathlib import Path
2525

26-
from app.app import app
27-
from app.endpoints.splitter import validate_request
28-
from app.models.splitter import SplitterRequest
26+
from allie.flowkit import flowkit_service
27+
from allie.flowkit.endpoints.splitter import validate_request
28+
from allie.flowkit.models.splitter import SplitterRequest
2929
from fastapi import HTTPException
3030
from fastapi.testclient import TestClient
3131
import pytest
3232

3333
from tests.conftest import MOCK_API_KEY
3434

3535
# Create a test client
36-
client = TestClient(app)
36+
client = TestClient(flowkit_service)
3737

3838

3939
def encode_file_to_base64(file_path):

tests/test_list_functions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@
2020
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2121
# SOFTWARE.
2222
"""Test module for list functions."""
23-
from app.app import app
23+
from allie.flowkit import flowkit_service
2424
from fastapi.testclient import TestClient
2525
import pytest
2626

2727
# Initialize the test client
28-
client = TestClient(app)
28+
client = TestClient(flowkit_service)
2929

3030

3131
@pytest.mark.asyncio

0 commit comments

Comments
 (0)