Skip to content

Commit ae06a3d

Browse files
committed
run tests without src. import
1 parent 4b44634 commit ae06a3d

File tree

9 files changed

+10
-10
lines changed

9 files changed

+10
-10
lines changed

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import pytest
1010
from httpx import Response
1111

12-
from src.borsdata_client.client import BorsdataClient
12+
from borsdata_client.client import BorsdataClient
1313

1414

1515
class MockResponse(Response):

tests/test_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import httpx
77
import pytest
88

9-
from src.borsdata_client.client import BorsdataClient, BorsdataClientError
9+
from borsdata_client.client import BorsdataClient, BorsdataClientError
1010

1111

1212
def test_client_initialization():

tests/test_edge_cases.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import httpx
77
import pytest
88

9-
from src.borsdata_client.client import BorsdataClient, BorsdataClientError
9+
from borsdata_client.client import BorsdataClient, BorsdataClientError
1010

1111

1212
def test_empty_response_handling(monkeypatch):

tests/test_endpoints.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
import pytest
1010

11-
# from src.borsdata_client.client import BorsdataClient
12-
from src.borsdata_client.models import (
11+
# from borsdata_client.client import BorsdataClient
12+
from borsdata_client.models import (
1313
Branch,
1414
BuybackResponse,
1515
Country,

tests/test_errors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import pytest
44

5-
from src.borsdata_client.client import BorsdataClientError
5+
from borsdata_client.client import BorsdataClientError
66

77

88
def test_borsdata_client_error():

tests/test_integration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
import pytest
1111

12-
from src.borsdata_client.client import BorsdataClient
12+
from borsdata_client.client import BorsdataClient
1313

1414
# Skip all tests in this module if no API key is available
1515
pytestmark = pytest.mark.skipif(

tests/test_model_validation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import pytest
66
from pydantic import ValidationError
77

8-
from src.borsdata_client.models import (
8+
from borsdata_client.models import (
99
Branch,
1010
InsiderRow,
1111
Instrument,

tests/test_models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
import pytest
77

8-
from src.borsdata_client.models import (
8+
from borsdata_client.models import (
99
Branch,
1010
BranchesResponse,
1111
BuybackListResponse,

tests/test_performance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
import pytest
1111

12-
from src.borsdata_client.client import BorsdataClient
12+
from borsdata_client.client import BorsdataClient
1313

1414
# Mark all tests in this module as performance tests
1515
pytestmark = [

0 commit comments

Comments
 (0)