summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Radovanovic <74266147+IgorWounds@users.noreply.github.com>2023-09-15 22:25:15 +0200
committerIgor Radovanovic <74266147+IgorWounds@users.noreply.github.com>2023-09-15 22:25:15 +0200
commit7fde369f47fd25416d54494640895ebe78de6267 (patch)
treede11221e7e0568553d94f5623f47c09d005470bb
parentbab898483a7319e721382c5c127fa78a99c16722 (diff)
Record Quandl Tests
-rw-r--r--openbb_sdk/providers/quandl/tests/record/http/test_fetchers/test_quandl_cot_fetcher.yaml18
-rw-r--r--openbb_sdk/providers/quandl/tests/record/http/test_fetchers/test_quandl_sp500_multiples_fetcher.yaml20
-rw-r--r--openbb_sdk/providers/utils/credentials_schema.py2
3 files changed, 20 insertions, 20 deletions
diff --git a/openbb_sdk/providers/quandl/tests/record/http/test_fetchers/test_quandl_cot_fetcher.yaml b/openbb_sdk/providers/quandl/tests/record/http/test_fetchers/test_quandl_cot_fetcher.yaml
index 4732aafecda..67442e52a0b 100644
--- a/openbb_sdk/providers/quandl/tests/record/http/test_fetchers/test_quandl_cot_fetcher.yaml
+++ b/openbb_sdk/providers/quandl/tests/record/http/test_fetchers/test_quandl_cot_fetcher.yaml
@@ -576,7 +576,7 @@ interactions:
Content-Type:
- application/json; charset=utf-8
Date:
- - Fri, 15 Sep 2023 20:12:11 GMT
+ - Fri, 15 Sep 2023 20:25:03 GMT
ETag:
- W/"5eeac6687ca2a1ddb8444714e36a59c3"
Pragma:
@@ -586,10 +586,10 @@ interactions:
Server:
- openresty
Set-Cookie:
- - visid_incap_2170999=awUPGwRbRhGeNNW5WGCooZa6BGUAAAAAQUIPAAAAAAAUTAcYlf8m3FgQfMZoiyyt;
+ - visid_incap_2170999=hszYCHipTbSy0sw9xSTAe5+9BGUAAAAAQUIPAAAAAAC6bkJ7X1EirpMZZypNhRII;
expires=Sat, 14 Sep 2024 06:57:55 GMT; HttpOnly; path=/; Domain=.nasdaq.com
- - nlbi_2170999=qi+jc0zXblG7GVh7Kj7S7QAAAAAULJ039vzDMJs7xmBWfs7O; path=/; Domain=.nasdaq.com
- - incap_ses_1539_2170999=l8pKNZjQLXYm1ai52KBbFZu6BGUAAAAABptWN28aUBfj9hBKvUZzzA==;
+ - nlbi_2170999=6tG+ANIZEjf+DM4tKj7S7QAAAABISKp4UvpjvUmCkmCOq9of; path=/; Domain=.nasdaq.com
+ - incap_ses_1539_2170999=nTiaGGjRgD9V4q252KBbFZ+9BGUAAAAAyBidkrzzOGpVfaIbNbXw0Q==;
path=/; Domain=.nasdaq.com
Strict-Transport-Security:
- max-age=31536000; includeSubDomains; preload
@@ -600,16 +600,16 @@ interactions:
X-Frame-Options:
- SAMEORIGIN
X-Iinfo:
- - 14-140449822-140449905 NNNY CT(1 1 0) RT(1694808727766 174) q(0 0 0 2) r(32
- 32) U2
+ - 14-140605531-140605562 NNNY CT(1 8 0) RT(1694809499989 189) q(0 0 0 -1) r(33
+ 33) U2
X-RateLimit-Limit:
- '50000'
X-RateLimit-Remaining:
- - '49998'
+ - '49996'
X-Request-Id:
- - 9b3f6af9-4825-4dfd-9e91-2154bfd6f095
+ - e43de9d2-17fd-4a03-848c-8d9451943de2
X-Runtime:
- - '0.182548'
+ - '0.193255'
X-XSS-Protection:
- 1; mode=block
status:
diff --git a/openbb_sdk/providers/quandl/tests/record/http/test_fetchers/test_quandl_sp500_multiples_fetcher.yaml b/openbb_sdk/providers/quandl/tests/record/http/test_fetchers/test_quandl_sp500_multiples_fetcher.yaml
index 033c1e538e4..c7ebb51aaab 100644
--- a/openbb_sdk/providers/quandl/tests/record/http/test_fetchers/test_quandl_sp500_multiples_fetcher.yaml
+++ b/openbb_sdk/providers/quandl/tests/record/http/test_fetchers/test_quandl_sp500_multiples_fetcher.yaml
@@ -225,7 +225,7 @@ interactions:
Content-Type:
- application/json; charset=utf-8
Date:
- - Fri, 15 Sep 2023 20:12:07 GMT
+ - Fri, 15 Sep 2023 20:24:59 GMT
ETag:
- W/"a6ee2d258da96c1ce8311105c66f456a"
Pragma:
@@ -235,10 +235,10 @@ interactions:
Server:
- openresty
Set-Cookie:
- - visid_incap_2170999=awUPGwRbRhGeNNW5WGCooZa6BGUAAAAAQUIPAAAAAAAUTAcYlf8m3FgQfMZoiyyt;
- expires=Sat, 14 Sep 2024 06:57:56 GMT; HttpOnly; path=/; Domain=.nasdaq.com
- - nlbi_2170999=VTlRBmLAT2fJPYlRKj7S7QAAAACxD3jeFTk9ipzewdxCaavh; path=/; Domain=.nasdaq.com
- - incap_ses_1539_2170999=/LC9SP1Stzgm1ai52KBbFZe6BGUAAAAA6LhEzwotJINW9mm+Ee29kw==;
+ - visid_incap_2170999=vEXn6jvtQ8aj+bhWZFVut5u9BGUAAAAAQUIPAAAAAADkhx052ssfzcJZWVEK6EB6;
+ expires=Sat, 14 Sep 2024 06:57:55 GMT; HttpOnly; path=/; Domain=.nasdaq.com
+ - nlbi_2170999=ZkGgKGrKBiTiy+hYKj7S7QAAAACkc1Afh4YqNAjxWyT9yBut; path=/; Domain=.nasdaq.com
+ - incap_ses_1539_2170999=EwykD1unVwZZ26252KBbFZu9BGUAAAAA7PGm1bpspDBqhdca/KDC8A==;
path=/; Domain=.nasdaq.com
Strict-Transport-Security:
- max-age=31536000; includeSubDomains; preload
@@ -249,16 +249,16 @@ interactions:
X-Frame-Options:
- SAMEORIGIN
X-Iinfo:
- - 11-100498987-100499059 NNNN CT(2 3 0) RT(1694808726635 177) q(0 0 0 1) r(2
- 2) U2
+ - 10-85983570-85983592 NNNN CT(1 6 0) RT(1694809498795 179) q(0 0 0 -1) r(4
+ 4) U2
X-RateLimit-Limit:
- '50000'
X-RateLimit-Remaining:
- - '49999'
+ - '49997'
X-Request-Id:
- - 4daab750-7609-40f2-aa2b-13a0b21a3266
+ - d171f568-35ba-4568-84cd-094be0e340a7
X-Runtime:
- - '0.215086'
+ - '0.250254'
X-XSS-Protection:
- 1; mode=block
status:
diff --git a/openbb_sdk/providers/utils/credentials_schema.py b/openbb_sdk/providers/utils/credentials_schema.py
index 60b98c924c2..ee40dee1d17 100644
--- a/openbb_sdk/providers/utils/credentials_schema.py
+++ b/openbb_sdk/providers/utils/credentials_schema.py
@@ -7,7 +7,7 @@ test_credentials: Dict[str, Tuple[str, str]] = {
"alpha_vantage": ("apikey", "MOCK_API_KEY"),
"fmp": ("apikey", "MOCK_API_KEY"),
"polygon": ("apiKey", "MOCK_API_KEY"),
- "quandl": ("api_key", "MOCK_API_KEY"),
+ "quandl": ("x-api-token", "MOCK_API_KEY"),
"fred": ("api_key", "MOCK_API_KEY"),
"intrinio": ("api_key", "MOCK_API_KEY"),
}