summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Radovanovic <74266147+IgorWounds@users.noreply.github.com>2023-09-18 20:44:22 +0200
committerGitHub <noreply@github.com>2023-09-18 20:44:22 +0200
commitfc9d7522ac802e9f20c1226705b00f1429e5a17f (patch)
tree99ef4beb08db19ad28b6941b66fe225934e5d06e
parentf20b8c727bc7fe68a43d2792698a94ffeb1f2883 (diff)
parentceff6b9745fef5860ee6bc56b14222f6d8d07b26 (diff)
Merge pull request #5435 from OpenBB-finance/feature/auto-testfeature/unit-test-fetchers
Feature/auto test
-rw-r--r--noxfile.py5
-rwxr-xr-xopenbb_sdk/install_all.sh4
-rw-r--r--openbb_sdk/poetry.lock571
-rw-r--r--openbb_sdk/providers/alpha_vantage/__init__.py (renamed from openbb_sdk/providers/tests/.gitkeep)0
-rw-r--r--openbb_sdk/providers/alpha_vantage/openbb_alpha_vantage/__init__.py3
-rw-r--r--openbb_sdk/providers/alpha_vantage/tests/__init__.py0
-rw-r--r--openbb_sdk/providers/alpha_vantage/tests/record/http/test_alpha_vantage_fetchers/test_av_stock_historical_fetcher.yaml48
-rw-r--r--openbb_sdk/providers/alpha_vantage/tests/test_alpha_vantage_fetchers.py24
-rw-r--r--openbb_sdk/providers/benzinga/__init__.py0
-rw-r--r--openbb_sdk/providers/benzinga/openbb_benzinga/__init__.py3
-rw-r--r--openbb_sdk/providers/benzinga/openbb_benzinga/models/global_news.py3
-rw-r--r--openbb_sdk/providers/benzinga/openbb_benzinga/models/stock_news.py3
-rw-r--r--openbb_sdk/providers/benzinga/tests/__init__.py0
-rw-r--r--openbb_sdk/providers/benzinga/tests/record/http/test_benzinga_fetchers/test_benzinga_global_news_fetcher.yaml122
-rw-r--r--openbb_sdk/providers/benzinga/tests/record/http/test_benzinga_fetchers/test_benzinga_stock_news_fetcher.yaml119
-rw-r--r--openbb_sdk/providers/benzinga/tests/test_benzinga_fetchers.py34
-rw-r--r--openbb_sdk/providers/cboe/__init__.py0
-rw-r--r--openbb_sdk/providers/cboe/openbb_cboe/__init__.py3
-rw-r--r--openbb_sdk/providers/cboe/openbb_cboe/models/available_indices.py3
-rw-r--r--openbb_sdk/providers/cboe/openbb_cboe/models/european_index_constituents.py3
-rw-r--r--openbb_sdk/providers/cboe/openbb_cboe/models/european_index_historical.py3
-rw-r--r--openbb_sdk/providers/cboe/openbb_cboe/models/futures_curve.py3
-rw-r--r--openbb_sdk/providers/cboe/openbb_cboe/models/index_search.py3
-rw-r--r--openbb_sdk/providers/cboe/openbb_cboe/models/index_snapshots.py15
-rw-r--r--openbb_sdk/providers/cboe/openbb_cboe/models/major_indices_historical.py11
-rw-r--r--openbb_sdk/providers/cboe/openbb_cboe/models/options_chains.py11
-rw-r--r--openbb_sdk/providers/cboe/openbb_cboe/models/stock_historical.py13
-rw-r--r--openbb_sdk/providers/cboe/openbb_cboe/models/stock_info.py13
-rw-r--r--openbb_sdk/providers/cboe/openbb_cboe/models/stock_search.py3
-rw-r--r--openbb_sdk/providers/cboe/tests/__init__.py0
-rw-r--r--openbb_sdk/providers/cboe/tests/record/http/test_cboe_fetchers/test_cboe_european_index_constituents_fetcher.yaml82
-rw-r--r--openbb_sdk/providers/cboe/tests/record/http/test_cboe_fetchers/test_cboe_european_index_historical_fetcher.yaml503
-rw-r--r--openbb_sdk/providers/cboe/tests/record/http/test_cboe_fetchers/test_cboe_futures_curve_fetcher.yaml202
-rw-r--r--openbb_sdk/providers/cboe/tests/record/http/test_cboe_fetchers/test_cboe_index_snapshots_fetcher.yaml499
-rw-r--r--openbb_sdk/providers/cboe/tests/record/http/test_cboe_fetchers/test_cboe_major_indices_historical_fetcher.yaml342
-rw-r--r--openbb_sdk/providers/cboe/tests/record/http/test_cboe_fetchers/test_cboe_options_chains_fetcher.yaml2118
-rw-r--r--openbb_sdk/providers/cboe/tests/record/http/test_cboe_fetchers/test_cboe_stock_historical_fetcher.yaml1694
-rw-r--r--openbb_sdk/providers/cboe/tests/record/http/test_cboe_fetchers/test_cboe_stock_info_fetcher.yaml114
-rw-r--r--openbb_sdk/providers/cboe/tests/test_cboe_fetchers.py130
-rw-r--r--openbb_sdk/providers/fmp/__init__.py0
-rw-r--r--openbb_sdk/providers/fmp/openbb_fmp/__init__.py3
-rw-r--r--openbb_sdk/providers/fmp/openbb_fmp/models/analyst_estimates.py3
-rw-r--r--openbb_sdk/providers/fmp/openbb_fmp/models/available_indices.py3
-rw-r--r--openbb_sdk/providers/fmp/openbb_fmp/models/balance_sheet.py3
-rw-r--r--openbb_sdk/providers/fmp/openbb_fmp/models/balance_sheet_growth.py3
-rw-r--r--openbb_sdk/providers/fmp/openbb_fmp/models/cash_flow.py3
-rw-r--r--openbb_sdk/providers/fmp/openbb_fmp/models/cash_flow_growth.py3
-rw-r--r--openbb_sdk/providers/fmp/openbb_fmp/models/company_overview.py3
-rw-r--r--openbb_sdk/providers/fmp/openbb_fmp/models/crypto_historical.py3
-rw-r--r--openbb_sdk/providers/fmp/openbb_fmp/models/dividend_calendar.py3
-rw-r--r--openbb_sdk/providers/fmp/openbb_fmp/models/earnings_calendar.py3
-rw-r--r--openbb_sdk/providers/fmp/openbb_fmp/models/earnings_call_transcript.py3
-rw-r--r--openbb_sdk/providers/fmp/openbb_fmp/models/executive_compensation.py3
-rw-r--r--openbb_sdk/providers/fmp/openbb_fmp/models/financial_ratios.py3
-rw-r--r--openbb_sdk/providers/fmp/openbb_fmp/models/forex_historical.py3
-rw-r--r--openbb_sdk/providers/fmp/openbb_fmp/models/forex_pairs.py3
-rw-r--r--openbb_sdk/providers/fmp/openbb_fmp/models/global_news.py3
-rw-r--r--openbb_sdk/providers/fmp/openbb_fmp/models/historical_dividends.py3
-rw-r--r--openbb_sdk/providers/fmp/openbb_fmp/models/historical_employees.py3
-rw-r--r--openbb_sdk/providers/fmp/openbb_fmp/models/historical_stock_splits.py3
-rw-r--r--openbb_sdk/providers/fmp/openbb_fmp/models/income_statement.py3
-rw-r--r--openbb_sdk/providers/fmp/openbb_fmp/models/income_statement_growth.py3
-rw-r--r--openbb_sdk/providers/fmp/openbb_fmp/models/institutional_ownership.py3
-rw-r--r--openbb_sdk/providers/fmp/openbb_fmp/models/key_executives.py3
-rw-r--r--openbb_sdk/providers/fmp/openbb_fmp/models/key_metrics.py3
-rw-r--r--openbb_sdk/providers/fmp/openbb_fmp/models/major_indices_constituents.py3
-rw-r--r--openbb_sdk/providers/fmp/openbb_fmp/models/major_indices_historical.py3
-rw-r--r--openbb_sdk/providers/fmp/openbb_fmp/models/price_target.py3
-rw-r--r--openbb_sdk/providers/fmp/openbb_fmp/models/price_target_consensus.py3
-rw-r--r--openbb_sdk/providers/fmp/openbb_fmp/models/revenue_business_line.py3
-rw-r--r--openbb_sdk/providers/fmp/openbb_fmp/models/revenue_geographic.py3
-rw-r--r--openbb_sdk/providers/fmp/openbb_fmp/models/risk_premium.py3
-rw-r--r--openbb_sdk/providers/fmp/openbb_fmp/models/sec_filings.py3
-rw-r--r--openbb_sdk/providers/fmp/openbb_fmp/models/share_statistics.py3
-rw-r--r--openbb_sdk/providers/fmp/openbb_fmp/models/stock_historical.py3
-rw-r--r--openbb_sdk/providers/fmp/openbb_fmp/models/stock_insider_trading.py3
-rw-r--r--openbb_sdk/providers/fmp/openbb_fmp/models/stock_multiples.py3
-rw-r--r--openbb_sdk/providers/fmp/openbb_fmp/models/stock_news.py3
-rw-r--r--openbb_sdk/providers/fmp/openbb_fmp/models/stock_ownership.py3
-rw-r--r--openbb_sdk/providers/fmp/openbb_fmp/models/stock_peers.py3
-rw-r--r--openbb_sdk/providers/fmp/openbb_fmp/models/stock_quote.py3
-rw-r--r--openbb_sdk/providers/fmp/openbb_fmp/models/stock_splits.py3
-rw-r--r--openbb_sdk/providers/fmp/openbb_fmp/models/treasury_rates.py3
-rw-r--r--openbb_sdk/providers/fmp/tests/__init__.py0
-rw-r--r--openbb_sdk/providers/fmp/tests/record/http/test_fmp_fetchers/test_fmp_analyst_estimates_fetcher.yaml122
-rw-r--r--openbb_sdk/providers/fmp/tests/record/http/test_fmp_fetchers/test_fmp_available_indices_fetcher.yaml114
-rw-r--r--openbb_sdk/providers/fmp/tests/record/http/test_fmp_fetchers/test_fmp_balance_sheet_fetcher.yaml117
-rw-r--r--openbb_sdk/providers/fmp/tests/record/http/test_fmp_fetchers/test_fmp_balance_sheet_growth_fetcher.yaml136
-rw-r--r--openbb_sdk/providers/fmp/tests/record/http/test_fmp_fetchers/test_fmp_cash_flow_statement_fetcher.yaml107
-rw-r--r--openbb_sdk/providers/fmp/tests/record/http/test_fmp_fetchers/test_fmp_cash_flow_statement_growth_fetcher.yaml123
-rw-r--r--openbb_sdk/providers/fmp/tests/record/http/test_fmp_fetchers/test_fmp_company_overview_fetcher.yaml75