File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 23
23
import base64
24
24
from pathlib import Path
25
25
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
29
29
from fastapi import HTTPException
30
30
from fastapi .testclient import TestClient
31
31
import pytest
32
32
33
33
from tests .conftest import MOCK_API_KEY
34
34
35
35
# Create a test client
36
- client = TestClient (app )
36
+ client = TestClient (flowkit_service )
37
37
38
38
39
39
def encode_file_to_base64 (file_path ):
Original file line number Diff line number Diff line change 20
20
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
21
# SOFTWARE.
22
22
"""Test module for list functions."""
23
- from app . app import app
23
+ from allie . flowkit import flowkit_service
24
24
from fastapi .testclient import TestClient
25
25
import pytest
26
26
27
27
# Initialize the test client
28
- client = TestClient (app )
28
+ client = TestClient (flowkit_service )
29
29
30
30
31
31
@pytest .mark .asyncio
You can’t perform that action at this time.
0 commit comments