Skip to content

tests: TiingoProvider coverage — supports, fetch, _download#1

Merged
FaustoS88 merged 1 commit intomainfrom
feat/tiingo-tests
Mar 14, 2026
Merged

tests: TiingoProvider coverage — supports, fetch, _download#1
FaustoS88 merged 1 commit intomainfrom
feat/tiingo-tests

Conversation

@FaustoS88
Copy link
Copy Markdown
Owner

Adds pytest coverage for TiingoProvider:

  • supports() — stock symbols, intl exchange-suffixed tickers, negative cases
  • fetch() — daily/weekly happy paths, adj vs unadj field fallback, limit enforcement, symbol uppercasing, resample freq, auth header
  • fetch() error cases — HTTP 404/500, network exception, empty response, dict error response, malformed rows
  • _download() — sync unit tests for success, non-200, and exception paths

30 tests total. All passing on Python 3.11 and 3.12.

@FaustoS88 FaustoS88 merged commit 918b80d into main Mar 14, 2026
4 checks passed
@FaustoS88 FaustoS88 deleted the feat/tiingo-tests branch March 14, 2026 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant