Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Project specific
tests/fixtures/

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
Expand Down
3 changes: 3 additions & 0 deletions run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ elif [ "$1" == "--coverage" ]; then
elif [ "$1" == "--models" ]; then
echo "Running model tests only..."
python3 -m pytest tests/test_models.py tests/test_model_validation.py
elif [ "$1" == "--endpoints" ]; then
echo "Running client tests only..."
python3 -m pytest tests/test_endpoints.py
elif [ "$1" == "--edge-cases" ]; then
echo "Running edge case tests only..."
python3 -m pytest tests/test_edge_cases.py
Expand Down
22 changes: 11 additions & 11 deletions src/borsdata_client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,21 @@

from .client import BorsdataClient, BorsdataClientError
from .models import (
Instrument,
Branch,
Market,
BuybackRow,
Country,
Sector,
StockPrice,
Report,
KpiMetadata,
DividendDate,
InsiderRow,
ShortPosition,
BuybackRow,
Instrument,
InstrumentDescription,
ReportCalendarDate,
DividendDate,
KpiMetadata,
KpiValue,
Market,
Report,
ReportCalendarDate,
Sector,
ShortPosition,
StockPrice,
StockPriceLastValue,
StockSplit,
TranslationItem,
Expand Down Expand Up @@ -52,4 +52,4 @@
"StockPriceLastValue",
"StockSplit",
"TranslationItem",
]
]
Loading
Loading