|
1 | 1 |
|
2 | 2 | Running tests... |
3 | 3 | ---------------------------------------------------------------------- |
4 | | - test_content_type (tests.test_stack.TestStack) ... OK (0.538158)s |
5 | | - test_content_types_with_query_param (tests.test_stack.TestStack) ... OK (0.528488)s |
6 | | - test_fail (tests.test_stack.TestStack) ... OK (0.000103)s |
7 | | - test_fail_delivery_token (tests.test_stack.TestStack) ... OK (0.000069)s |
8 | | - test_format (tests.test_stack.TestStack) ... OK (0.000057)s |
9 | | - test_image_transformation (tests.test_stack.TestStack) ... OK (0.000270)s |
10 | | - test_image_transformation_get_url_with_format (tests.test_stack.TestStack) ... OK (0.000105)s |
11 | | - test_image_transformation_get_url_with_height_width (tests.test_stack.TestStack) ... OK (0.000078)s |
12 | | - test_init_sync_no_params (tests.test_stack.TestStack) ... OK (0.589745)s |
13 | | - test_init_sync_with_all_params (tests.test_stack.TestStack) ... OK (0.545879)s |
14 | | - test_init_sync_with_content_type_uid (tests.test_stack.TestStack) ... OK (0.486923)s |
15 | | - test_init_sync_with_publish_type (tests.test_stack.TestStack) ... OK (0.965049)s |
16 | | - test_nothing (tests.test_stack.TestStack) ... SKIP (0.000032)s |
17 | | - test_stack_credentials (tests.test_stack.TestStack) ... OK (0.000089)s |
18 | | - test_stack_endpoint (tests.test_stack.TestStack) ... OK (0.000219)s |
19 | | - test_stack_region (tests.test_stack.TestStack) ... OK (0.000113)s |
20 | | - test_sync_pagination (tests.test_stack.TestStack) ... OK (1.610647)s |
21 | | - test_sync_token (tests.test_stack.TestStack) ... OK (0.546425)s |
| 4 | + test_content_type (tests.test_stack.TestStack) ... ERROR (60.034263)s |
| 5 | + test_content_types_with_query_param (tests.test_stack.TestStack) ... OK (1.569453)s |
| 6 | + test_fail (tests.test_stack.TestStack) ... OK (0.000409)s |
| 7 | + test_fail_delivery_token (tests.test_stack.TestStack) ... OK (0.000082)s |
| 8 | + test_format (tests.test_stack.TestStack) ... OK (0.000168)s |
| 9 | + test_image_transformation (tests.test_stack.TestStack) ... OK (0.000246)s |
| 10 | + test_image_transformation_get_url_with_format (tests.test_stack.TestStack) ... OK (0.000071)s |
| 11 | + test_image_transformation_get_url_with_height_width (tests.test_stack.TestStack) ... OK (0.000066)s |
| 12 | + test_init_sync_no_params (tests.test_stack.TestStack) ... OK (0.502607)s |
| 13 | + test_init_sync_with_all_params (tests.test_stack.TestStack) ... OK (0.645791)s |
| 14 | + test_init_sync_with_content_type_uid (tests.test_stack.TestStack) ... OK (1.979747)s |
| 15 | + test_init_sync_with_publish_type (tests.test_stack.TestStack) ... OK (1.675720)s |
| 16 | + test_nothing (tests.test_stack.TestStack) ... SKIP (0.000054)s |
| 17 | + test_stack_credentials (tests.test_stack.TestStack) ... OK (0.000168)s |
| 18 | + test_stack_endpoint (tests.test_stack.TestStack) ... OK (0.000162)s |
| 19 | + test_stack_region (tests.test_stack.TestStack) ... OK (0.000078)s |
| 20 | + test_sync_pagination (tests.test_stack.TestStack) ... OK (0.644361)s |
| 21 | + test_sync_token (tests.test_stack.TestStack) ... OK (0.575534)s |
22 | 22 |
|
| 23 | +====================================================================== |
| 24 | +ERROR [60.034263s]: tests.test_stack.TestStack.test_content_type |
23 | 25 | ---------------------------------------------------------------------- |
24 | | -Ran 18 tests in 0:00:05 |
| 26 | +Traceback (most recent call last): |
| 27 | + File "/Users/shaileshmishra/Documents/contentstack/workspace/python/contentstack-python/env/lib/python3.7/site-packages/urllib3/connection.py", line 160, in _new_conn |
| 28 | + (self._dns_host, self.port), self.timeout, **extra_kw |
| 29 | + File "/Users/shaileshmishra/Documents/contentstack/workspace/python/contentstack-python/env/lib/python3.7/site-packages/urllib3/util/connection.py", line 61, in create_connection |
| 30 | + for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): |
| 31 | + File "/usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/socket.py", line 752, in getaddrinfo |
| 32 | + for res in _socket.getaddrinfo(host, port, family, type, proto, flags): |
| 33 | +socket.gaierror: [Errno 8] nodename nor servname provided, or not known |
25 | 34 |
|
26 | | -OK |
27 | | - (Skipped=1) |
| 35 | +During handling of the above exception, another exception occurred: |
| 36 | + |
| 37 | +Traceback (most recent call last): |
| 38 | + File "/Users/shaileshmishra/Documents/contentstack/workspace/python/contentstack-python/env/lib/python3.7/site-packages/urllib3/connectionpool.py", line 677, in urlopen |
| 39 | + chunked=chunked, |
| 40 | + File "/Users/shaileshmishra/Documents/contentstack/workspace/python/contentstack-python/env/lib/python3.7/site-packages/urllib3/connectionpool.py", line 381, in _make_request |
| 41 | + self._validate_conn(conn) |
| 42 | + File "/Users/shaileshmishra/Documents/contentstack/workspace/python/contentstack-python/env/lib/python3.7/site-packages/urllib3/connectionpool.py", line 976, in _validate_conn |
| 43 | + conn.connect() |
| 44 | + File "/Users/shaileshmishra/Documents/contentstack/workspace/python/contentstack-python/env/lib/python3.7/site-packages/urllib3/connection.py", line 308, in connect |
| 45 | + conn = self._new_conn() |
| 46 | + File "/Users/shaileshmishra/Documents/contentstack/workspace/python/contentstack-python/env/lib/python3.7/site-packages/urllib3/connection.py", line 172, in _new_conn |
| 47 | + self, "Failed to establish a new connection: %s" % e |
| 48 | +urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x10f3e1290>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known |
| 49 | + |
| 50 | +During handling of the above exception, another exception occurred: |
| 51 | + |
| 52 | +Traceback (most recent call last): |
| 53 | + File "/Users/shaileshmishra/Documents/contentstack/workspace/python/contentstack-python/env/lib/python3.7/site-packages/requests/adapters.py", line 449, in send |
| 54 | + timeout=timeout |
| 55 | + File "/Users/shaileshmishra/Documents/contentstack/workspace/python/contentstack-python/env/lib/python3.7/site-packages/urllib3/connectionpool.py", line 725, in urlopen |
| 56 | + method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] |
| 57 | + File "/Users/shaileshmishra/Documents/contentstack/workspace/python/contentstack-python/env/lib/python3.7/site-packages/urllib3/util/retry.py", line 439, in increment |
| 58 | + raise MaxRetryError(_pool, url, error or ResponseError(cause)) |
| 59 | +urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='cdn.contentstack.io', port=443): Max retries exceeded with url: /v3/content_types/application_theme?environment=development (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x10f3e1290>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known')) |
| 60 | + |
| 61 | +During handling of the above exception, another exception occurred: |
| 62 | + |
| 63 | +Traceback (most recent call last): |
| 64 | + File "/Users/shaileshmishra/Documents/contentstack/workspace/python/contentstack-python/tests/test_stack.py", line 129, in test_content_type |
| 65 | + result = content_type.fetch() |
| 66 | + File "/Users/shaileshmishra/Documents/contentstack/workspace/python/contentstack-python/contentstack/contenttype.py", line 87, in fetch |
| 67 | + result = self.http_instance.get(url) |
| 68 | + File "/Users/shaileshmishra/Documents/contentstack/workspace/python/contentstack-python/contentstack/https_connection.py", line 63, in get |
| 69 | + timeout=self.default_timeout, headers=self.headers) |
| 70 | + File "/Users/shaileshmishra/Documents/contentstack/workspace/python/contentstack-python/env/lib/python3.7/site-packages/requests/api.py", line 76, in get |
| 71 | + return request('get', url, params=params, **kwargs) |
| 72 | + File "/Users/shaileshmishra/Documents/contentstack/workspace/python/contentstack-python/env/lib/python3.7/site-packages/requests/api.py", line 61, in request |
| 73 | + return session.request(method=method, url=url, **kwargs) |
| 74 | + File "/Users/shaileshmishra/Documents/contentstack/workspace/python/contentstack-python/env/lib/python3.7/site-packages/requests/sessions.py", line 530, in request |
| 75 | + resp = self.send(prep, **send_kwargs) |
| 76 | + File "/Users/shaileshmishra/Documents/contentstack/workspace/python/contentstack-python/env/lib/python3.7/site-packages/requests/sessions.py", line 643, in send |
| 77 | + r = adapter.send(request, **kwargs) |
| 78 | + File "/Users/shaileshmishra/Documents/contentstack/workspace/python/contentstack-python/env/lib/python3.7/site-packages/requests/adapters.py", line 516, in send |
| 79 | + raise ConnectionError(e, request=request) |
| 80 | +requests.exceptions.ConnectionError: HTTPSConnectionPool(host='cdn.contentstack.io', port=443): Max retries exceeded with url: /v3/content_types/application_theme?environment=development (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x10f3e1290>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known')) |
| 81 | + |
| 82 | +---------------------------------------------------------------------- |
| 83 | +Ran 18 tests in 0:01:07 |
| 84 | + |
| 85 | +FAILED |
| 86 | + (Errors=1, Skipped=1) |
28 | 87 |
|
29 | 88 | Generating HTML reports... |
30 | | -reports/TestResults_tests.test_stack.TestStack_2020-06-09_12-41-34.html |
| 89 | +reports/TestResults_tests.test_stack.TestStack_2020-06-09_12-58-30.html |
0 commit comments