Skip to content

Instantly share code, notes, and snippets.

@tjkhara
Created October 29, 2020 14:05
Show Gist options
  • Select an option

  • Save tjkhara/629584471cbea2952e9a51e197a7088c to your computer and use it in GitHub Desktop.

Select an option

Save tjkhara/629584471cbea2952e9a51e197a7088c to your computer and use it in GitHub Desktop.
No warnings seen here
============================= test session starts ==============================
platform linux -- Python 3.8.5, pytest-6.1.1, py-1.9.0, pluggy-0.13.1
rootdir: /home/tkhara/notes/testing/admas_kinfu/project_dir/ssqaapitest, configfile: pytest.ini
plugins: metadata-1.10.0, html-2.1.1
collected 4 items / 1 deselected / 3 selected
tests/customers/test_create_customers_smoke.py::test_create_customer_only_email_password
-------------------------------- live log call ---------------------------------
INFO root:test_create_customers_smoke.py:14 TEST: Create new customer with email and password only.
DEBUG root:generic_utility.py:7 Generating random email and password.
DEBUG root:generic_utility.py:24 Randomly generated email and password are: {'email': '[email protected]', 'password': 'PpedrlQiFyIFsBfIlOHY'}
INFO root:test_create_customers_smoke.py:17 {'email': '[email protected]', 'password': 'PpedrlQiFyIFsBfIlOHY'}
DEBUG requests_oauthlib.oauth1_auth:oauth1_auth.py:77 Signing request <PreparedRequest [POST]> using client <Client client_key=ck_f42ab89419a8669b1c8272005920479bf975ea5d, client_secret=****, resource_owner_key=None, resource_owner_secret=None, signature_method=HMAC-SHA1, signature_type=AUTH_HEADER, callback_uri=None, rsa_key=None, verifier=None, realm=None, encoding=utf-8, decoding=utf-8, nonce=None, timestamp=None>
DEBUG requests_oauthlib.oauth1_auth:oauth1_auth.py:91 Including body in call to sign: False
DEBUG oauthlib.oauth1.rfc5849:__init__.py:133 Collected params: [('oauth_nonce', '23163749954574657121603980235'), ('oauth_timestamp', '1603980235'), ('oauth_version', '1.0'), ('oauth_signature_method', 'HMAC-SHA1'), ('oauth_consumer_key', 'ck_f42ab89419a8669b1c8272005920479bf975ea5d')]
DEBUG oauthlib.oauth1.rfc5849:__init__.py:137 Normalized params: oauth_consumer_key=ck_f42ab89419a8669b1c8272005920479bf975ea5d&oauth_nonce=23163749954574657121603980235&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1603980235&oauth_version=1.0
DEBUG oauthlib.oauth1.rfc5849:__init__.py:138 Normalized URI: http://192.168.1.100:11002/wp-json/wc/v3/customers
DEBUG oauthlib.oauth1.rfc5849:__init__.py:143 Signing: signature base string: POST&http%3A%2F%2F192.168.1.100%3A11002%2Fwp-json%2Fwc%2Fv3%2Fcustomers&oauth_consumer_key%3Dck_f42ab89419a8669b1c8272005920479bf975ea5d%26oauth_nonce%3D23163749954574657121603980235%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1603980235%26oauth_version%3D1.0
DEBUG oauthlib.oauth1.rfc5849:__init__.py:150 Signature: Dwsv6d2PqW8kLlGn967tIrfFEcE=
DEBUG oauthlib.oauth1.rfc5849:__init__.py:320 Encoding URI, headers and body to utf-8.
DEBUG requests_oauthlib.oauth1_auth:oauth1_auth.py:114 Updated url: http://192.168.1.100:11002/wp-json/wc/v3/customers
DEBUG requests_oauthlib.oauth1_auth:oauth1_auth.py:115 Updated headers: {b'User-Agent': b'python-requests/2.24.0', b'Accept-Encoding': b'gzip, deflate', b'Accept': b'*/*', b'Connection': b'keep-alive', b'Content-Type': b'application/json', b'Content-Length': b'81', b'Authorization': b'OAuth oauth_nonce="23163749954574657121603980235", oauth_timestamp="1603980235", oauth_version="1.0", oauth_signature_method="HMAC-SHA1", oauth_consumer_key="ck_f42ab89419a8669b1c8272005920479bf975ea5d", oauth_signature="Dwsv6d2PqW8kLlGn967tIrfFEcE%3D"'}
DEBUG requests_oauthlib.oauth1_auth:oauth1_auth.py:116 Updated body: '{"email": "[email protected]", "password": "PpedrlQiFyIFsBfIlOHY"}'
DEBUG urllib3.connectionpool:connectionpool.py:226 Starting new HTTP connection (1): 192.168.1.100:11002
DEBUG urllib3.connectionpool:connectionpool.py:433 http://192.168.1.100:11002 "POST /wp-json/wc/v3/customers HTTP/1.1" 201 895
DEBUG root:requests_utility.py:42 POST API response: {'id': 46, 'date_created': '2020-10-29T14:03:55', 'date_created_gmt': '2020-10-29T14:03:55', 'date_modified': '2020-10-29T14:03:55', 'date_modified_gmt': '2020-10-29T14:03:55', 'email': '[email protected]', 'first_name': '', 'last_name': '', 'role': 'customer', 'username': 'testuser_gyeyptbhzz', 'billing': {'first_name': '', 'last_name': '', 'company': '', 'address_1': '', 'address_2': '', 'city': '', 'postcode': '', 'country': '', 'state': '', 'email': '', 'phone': ''}, 'shipping': {'first_name': '', 'last_name': '', 'company': '', 'address_1': '', 'address_2': '', 'city': '', 'postcode': '', 'country': '', 'state': ''}, 'is_paying_customer': False, 'avatar_url': 'http://0.gravatar.com/avatar/3d6a0f069cef77bc7c0d7ebae98e387a?s=96&d=mm&r=g', 'meta_data': [], '_links': {'self': [{'href': 'http://192.168.1.100:11002/wp-json/wc/v3/customers/46'}], 'collection': [{'href': 'http://192.168.1.100:11002/wp-json/wc/v3/customers'}]}}
DEBUG root:customers_helper.py:27 API response: {'id': 46, 'date_created': '2020-10-29T14:03:55', 'date_created_gmt': '2020-10-29T14:03:55', 'date_modified': '2020-10-29T14:03:55', 'date_modified_gmt': '2020-10-29T14:03:55', 'email': '[email protected]', 'first_name': '', 'last_name': '', 'role': 'customer', 'username': 'testuser_gyeyptbhzz', 'billing': {'first_name': '', 'last_name': '', 'company': '', 'address_1': '', 'address_2': '', 'city': '', 'postcode': '', 'country': '', 'state': '', 'email': '', 'phone': ''}, 'shipping': {'first_name': '', 'last_name': '', 'company': '', 'address_1': '', 'address_2': '', 'city': '', 'postcode': '', 'country': '', 'state': ''}, 'is_paying_customer': False, 'avatar_url': 'http://0.gravatar.com/avatar/3d6a0f069cef77bc7c0d7ebae98e387a?s=96&d=mm&r=g', 'meta_data': [], '_links': {'self': [{'href': 'http://192.168.1.100:11002/wp-json/wc/v3/customers/46'}], 'collection': [{'href': 'http://192.168.1.100:11002/wp-json/wc/v3/customers'}]}}
DEBUG root:db_utility.py:25 Executing: SELECT * FROM `wordpress`.`wp_users` WHERE user_email = '[email protected]';
PASSED [ 33%]
tests/customers/test_create_customers_smoke.py::test_create_customer_fail_for_existing_email
-------------------------------- live log call ---------------------------------
DEBUG root:db_utility.py:25 Executing: SELECT * FROM `wordpress`.`wp_users` ORDER BY id DESC LIMIT 5000;
DEBUG requests_oauthlib.oauth1_auth:oauth1_auth.py:77 Signing request <PreparedRequest [POST]> using client <Client client_key=ck_f42ab89419a8669b1c8272005920479bf975ea5d, client_secret=****, resource_owner_key=None, resource_owner_secret=None, signature_method=HMAC-SHA1, signature_type=AUTH_HEADER, callback_uri=None, rsa_key=None, verifier=None, realm=None, encoding=utf-8, decoding=utf-8, nonce=None, timestamp=None>
DEBUG requests_oauthlib.oauth1_auth:oauth1_auth.py:91 Including body in call to sign: False
DEBUG oauthlib.oauth1.rfc5849:__init__.py:133 Collected params: [('oauth_nonce', '101097694987315609251603980235'), ('oauth_timestamp', '1603980235'), ('oauth_version', '1.0'), ('oauth_signature_method', 'HMAC-SHA1'), ('oauth_consumer_key', 'ck_f42ab89419a8669b1c8272005920479bf975ea5d')]
DEBUG oauthlib.oauth1.rfc5849:__init__.py:137 Normalized params: oauth_consumer_key=ck_f42ab89419a8669b1c8272005920479bf975ea5d&oauth_nonce=101097694987315609251603980235&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1603980235&oauth_version=1.0
DEBUG oauthlib.oauth1.rfc5849:__init__.py:138 Normalized URI: http://192.168.1.100:11002/wp-json/wc/v3/customers
DEBUG oauthlib.oauth1.rfc5849:__init__.py:143 Signing: signature base string: POST&http%3A%2F%2F192.168.1.100%3A11002%2Fwp-json%2Fwc%2Fv3%2Fcustomers&oauth_consumer_key%3Dck_f42ab89419a8669b1c8272005920479bf975ea5d%26oauth_nonce%3D101097694987315609251603980235%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1603980235%26oauth_version%3D1.0
DEBUG oauthlib.oauth1.rfc5849:__init__.py:150 Signature: I+9Z1RhRkpakF2gOtkNFHW5qS2c=
DEBUG oauthlib.oauth1.rfc5849:__init__.py:320 Encoding URI, headers and body to utf-8.
DEBUG requests_oauthlib.oauth1_auth:oauth1_auth.py:114 Updated url: http://192.168.1.100:11002/wp-json/wc/v3/customers
DEBUG requests_oauthlib.oauth1_auth:oauth1_auth.py:115 Updated headers: {b'User-Agent': b'python-requests/2.24.0', b'Accept-Encoding': b'gzip, deflate', b'Accept': b'*/*', b'Connection': b'keep-alive', b'Content-Type': b'application/json', b'Content-Length': b'58', b'Authorization': b'OAuth oauth_nonce="101097694987315609251603980235", oauth_timestamp="1603980235", oauth_version="1.0", oauth_signature_method="HMAC-SHA1", oauth_consumer_key="ck_f42ab89419a8669b1c8272005920479bf975ea5d", oauth_signature="I%2B9Z1RhRkpakF2gOtkNFHW5qS2c%3D"'}
DEBUG requests_oauthlib.oauth1_auth:oauth1_auth.py:116 Updated body: '{"email": "[email protected]", "password": "password"}'
DEBUG urllib3.connectionpool:connectionpool.py:226 Starting new HTTP connection (1): 192.168.1.100:11002
DEBUG urllib3.connectionpool:connectionpool.py:433 http://192.168.1.100:11002 "POST /wp-json/wc/v3/customers HTTP/1.1" 400 188
DEBUG root:requests_utility.py:42 POST API response: {'code': 'registration-error-email-exists', 'message': 'An account is already registered with your email address. <a href="#" class="showlogin">Please log in.</a>', 'data': {'status': 400}}
PASSED [ 66%]
tests/customers/test_get_customers_smoke.py::test_get_all_customers
-------------------------------- live log call ---------------------------------
DEBUG requests_oauthlib.oauth1_auth:oauth1_auth.py:77 Signing request <PreparedRequest [GET]> using client <Client client_key=ck_f42ab89419a8669b1c8272005920479bf975ea5d, client_secret=****, resource_owner_key=None, resource_owner_secret=None, signature_method=HMAC-SHA1, signature_type=AUTH_HEADER, callback_uri=None, rsa_key=None, verifier=None, realm=None, encoding=utf-8, decoding=utf-8, nonce=None, timestamp=None>
DEBUG requests_oauthlib.oauth1_auth:oauth1_auth.py:91 Including body in call to sign: False
DEBUG oauthlib.oauth1.rfc5849:__init__.py:133 Collected params: [('oauth_nonce', '38710992575397063961603980236'), ('oauth_timestamp', '1603980236'), ('oauth_version', '1.0'), ('oauth_signature_method', 'HMAC-SHA1'), ('oauth_consumer_key', 'ck_f42ab89419a8669b1c8272005920479bf975ea5d')]
DEBUG oauthlib.oauth1.rfc5849:__init__.py:137 Normalized params: oauth_consumer_key=ck_f42ab89419a8669b1c8272005920479bf975ea5d&oauth_nonce=38710992575397063961603980236&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1603980236&oauth_version=1.0
DEBUG oauthlib.oauth1.rfc5849:__init__.py:138 Normalized URI: http://192.168.1.100:11002/wp-json/wc/v3/customers
DEBUG oauthlib.oauth1.rfc5849:__init__.py:143 Signing: signature base string: GET&http%3A%2F%2F192.168.1.100%3A11002%2Fwp-json%2Fwc%2Fv3%2Fcustomers&oauth_consumer_key%3Dck_f42ab89419a8669b1c8272005920479bf975ea5d%26oauth_nonce%3D38710992575397063961603980236%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1603980236%26oauth_version%3D1.0
DEBUG oauthlib.oauth1.rfc5849:__init__.py:150 Signature: R9WBcJFCyJI9LAB8xjBnGPyy9HI=
DEBUG oauthlib.oauth1.rfc5849:__init__.py:320 Encoding URI, headers and body to utf-8.
DEBUG requests_oauthlib.oauth1_auth:oauth1_auth.py:114 Updated url: http://192.168.1.100:11002/wp-json/wc/v3/customers
DEBUG requests_oauthlib.oauth1_auth:oauth1_auth.py:115 Updated headers: {b'User-Agent': b'python-requests/2.24.0', b'Accept-Encoding': b'gzip, deflate', b'Accept': b'*/*', b'Connection': b'keep-alive', b'Content-Type': b'application/json', b'Authorization': b'OAuth oauth_nonce="38710992575397063961603980236", oauth_timestamp="1603980236", oauth_version="1.0", oauth_signature_method="HMAC-SHA1", oauth_consumer_key="ck_f42ab89419a8669b1c8272005920479bf975ea5d", oauth_signature="R9WBcJFCyJI9LAB8xjBnGPyy9HI%3D"'}
DEBUG requests_oauthlib.oauth1_auth:oauth1_auth.py:116 Updated body: None
DEBUG urllib3.connectionpool:connectionpool.py:226 Starting new HTTP connection (1): 192.168.1.100:11002
DEBUG urllib3.connectionpool:connectionpool.py:433 http://192.168.1.100:11002 "GET /wp-json/wc/v3/customers HTTP/1.1" 200 None
DEBUG root:requests_utility.py:58 GET API response: [{'id': 7, 'date_created': '2020-10-28T06:22:04', 'date_created_gmt': '2020-10-28T06:22:04', 'date_modified': '2020-10-28T06:22:04', 'date_modified_gmt': '2020-10-28T06:22:04', 'email': '[email protected]', 'first_name': 'John', 'last_name': 'Doe', 'role': 'customer', 'username': 'john.doe', 'billing': {'first_name': 'John', 'last_name': 'Doe', 'company': '', 'address_1': '969 Market', 'address_2': '', 'city': 'San Francisco', 'postcode': '94103', 'country': 'US', 'state': 'CA', 'email': '[email protected]', 'phone': '(555) 555-5555'}, 'shipping': {'first_name': 'John', 'last_name': 'Doe', 'company': '', 'address_1': '969 Market', 'address_2': '', 'city': 'San Francisco', 'postcode': '94103', 'country': 'US', 'state': 'CA'}, 'is_paying_customer': False, 'avatar_url': 'http://0.gravatar.com/avatar/31941d0fdc91bda320057668df9d0ce7?s=96&d=mm&r=g', 'meta_data': [], '_links': {'self': [{'href': 'http://192.168.1.100:11002/wp-json/wc/v3/customers/7'}], 'collection': [{'href': 'http://192.168.1.100:11002/wp-json/wc/v3/customers'}]}}, {'id': 35, 'date_created': '2020-10-29T09:30:07', 'date_created_gmt': '2020-10-29T09:30:07', 'date_modified': '2020-10-29T09:30:07', 'date_modified_gmt': '2020-10-29T09:30:07', 'email': '[email protected]', 'first_name': '', 'last_name': '', 'role': 'customer', 'username': 'testuser_adelxtvmha', 'billing': {'first_name': '', 'last_name': '', 'company': '', 'address_1': '', 'address_2': '', 'city': '', 'postcode': '', 'country': '', 'state': '', 'email': '', 'phone': ''}, 'shipping': {'first_name': '', 'last_name': '', 'company': '', 'address_1': '', 'address_2': '', 'city': '', 'postcode': '', 'country': '', 'state': ''}, 'is_paying_customer': False, 'avatar_url': 'http://1.gravatar.com/avatar/4799f36836015817810f1a8d15a44d76?s=96&d=mm&r=g', 'meta_data': [], '_links': {'self': [{'href': 'http://192.168.1.100:11002/wp-json/wc/v3/customers/35'}], 'collection': [{'href': 'http://192.168.1.100:11002/wp-json/wc/v3/customers'}]}}, {'id': 3, 'date_created': '2020-10-27T11:52:41', 'date_created_gmt': '2020-10-27T11:52:41', 'date_modified': '2020-10-27T11:52:41', 'date_modified_gmt': '2020-10-27T11:52:41', 'email': '[email protected]', 'first_name': '', 'last_name': '', 'role': 'customer', 'username': 'testuser_akhsvkktza', 'billing': {'first_name': '', 'last_name': '', 'company': '', 'address_1': '', 'address_2': '', 'city': '', 'postcode': '', 'country': '', 'state': '', 'email': '', 'phone': ''}, 'shipping': {'first_name': '', 'last_name': '', 'company': '', 'address_1': '', 'address_2': '', 'city': '', 'postcode': '', 'country': '', 'state': ''}, 'is_paying_customer': False, 'avatar_url': 'http://1.gravatar.com/avatar/7a03549055efbeb4110584e82a31439d?s=96&d=mm&r=g', 'meta_data': [], '_links': {'self': [{'href': 'http://192.168.1.100:11002/wp-json/wc/v3/customers/3'}], 'collection': [{'href': 'http://192.168.1.100:11002/wp-json/wc/v3/customers'}]}}, {'id': 13, 'date_created': '2020-10-29T05:02:40', 'date_created_gmt': '2020-10-29T05:02:40', 'date_modified': '2020-10-29T05:02:40', 'date_modified_gmt': '2020-10-29T05:02:40', 'email': '[email protected]', 'first_name': '', 'last_name': '', 'role': 'customer', 'username': 'testuser_bhkwcbbkco', 'billing': {'first_name': '', 'last_name': '', 'company': '', 'address_1': '', 'address_2': '', 'city': '', 'postcode': '', 'country': '', 'state': '', 'email': '', 'phone': ''}, 'shipping': {'first_name': '', 'last_name': '', 'company': '', 'address_1': '', 'address_2': '', 'city': '', 'postcode': '', 'country': '', 'state': ''}, 'is_paying_customer': False, 'avatar_url': 'http://0.gravatar.com/avatar/cd407803c70f497c736cb52d1c58b1ad?s=96&d=mm&r=g', 'meta_data': [], '_links': {'self': [{'href': 'http://192.168.1.100:11002/wp-json/wc/v3/customers/13'}], 'collection': [{'href': 'http://192.168.1.100:11002/wp-json/wc/v3/customers'}]}}, {'id': 4, 'date_created': '2020-10-27T11:52:47', 'date_created_gmt': '2020-10-27T11:52:47', 'date_modified': '2020-10-27T11:52:47', 'date_modified_gmt': '2020-10-27T11:52:47', 'email': '[email protected]', 'first_name': '', 'last_name': '', 'role': 'customer', 'username': 'testuser_bxvxqvbcgu', 'billing': {'first_name': '', 'last_name': '', 'company': '', 'address_1': '', 'address_2': '', 'city': '', 'postcode': '', 'country': '', 'state': '', 'email': '', 'phone': ''}, 'shipping': {'first_name': '', 'last_name': '', 'company': '', 'address_1': '', 'address_2': '', 'city': '', 'postcode': '', 'country': '', 'state': ''}, 'is_paying_customer': False, 'avatar_url': 'http://2.gravatar.com/avatar/bb1f58655c0373e6afd781235eb7fef1?s=96&d=mm&r=g', 'meta_data': [], '_links': {'self': [{'href': 'http://192.168.1.100:11002/wp-json/wc/v3/customers/4'}], 'collection': [{'href': 'http://192.168.1.100:11002/wp-json/wc/v3/customers'}]}}, {'id': 24, 'date_created': '2020-10-29T07:57:31', 'date_created_gmt': '2020-10-29T07:57:31', 'date_modified': '2020-10-29T07:57:31', 'date_modified_gmt': '2020-10-29T07:57:31', 'email': '[email protected]', 'first_name': '', 'last_name': '', 'role': 'customer', 'username': 'testuser_chbbguejxr', 'billing': {'first_name': '', 'last_name': '', 'company': '', 'address_1': '', 'address_2': '', 'city': '', 'postcode': '', 'country': '', 'state': '', 'email': '', 'phone': ''}, 'shipping': {'first_name': '', 'last_name': '', 'company': '', 'address_1': '', 'address_2': '', 'city': '', 'postcode': '', 'country': '', 'state': ''}, 'is_paying_customer': False, 'avatar_url': 'http://1.gravatar.com/avatar/af08fc2c4c958c555907299906b55af3?s=96&d=mm&r=g', 'meta_data': [], '_links': {'self': [{'href': 'http://192.168.1.100:11002/wp-json/wc/v3/customers/24'}], 'collection': [{'href': 'http://192.168.1.100:11002/wp-json/wc/v3/customers'}]}}, {'id': 23, 'date_created': '2020-10-29T07:55:34', 'date_created_gmt': '2020-10-29T07:55:34', 'date_modified': '2020-10-29T07:55:35', 'date_modified_gmt': '2020-10-29T07:55:35', 'email': '[email protected]', 'first_name': '', 'last_name': '', 'role': 'customer', 'username': 'testuser_dkxigdoqlt', 'billing': {'first_name': '', 'last_name': '', 'company': '', 'address_1': '', 'address_2': '', 'city': '', 'postcode': '', 'country': '', 'state': '', 'email': '', 'phone': ''}, 'shipping': {'first_name': '', 'last_name': '', 'company': '', 'address_1': '', 'address_2': '', 'city': '', 'postcode': '', 'country': '', 'state': ''}, 'is_paying_customer': False, 'avatar_url': 'http://2.gravatar.com/avatar/218fd4d79d25f1d24218858ff92afbf7?s=96&d=mm&r=g', 'meta_data': [], '_links': {'self': [{'href': 'http://192.168.1.100:11002/wp-json/wc/v3/customers/23'}], 'collection': [{'href': 'http://192.168.1.100:11002/wp-json/wc/v3/customers'}]}}, {'id': 26, 'date_created': '2020-10-29T07:59:04', 'date_created_gmt': '2020-10-29T07:59:04', 'date_modified': '2020-10-29T07:59:04', 'date_modified_gmt': '2020-10-29T07:59:04', 'email': '[email protected]', 'first_name': '', 'last_name': '', 'role': 'customer', 'username': 'testuser_dmsgluduor', 'billing': {'first_name': '', 'last_name': '', 'company': '', 'address_1': '', 'address_2': '', 'city': '', 'postcode': '', 'country': '', 'state': '', 'email': '', 'phone': ''}, 'shipping': {'first_name': '', 'last_name': '', 'company': '', 'address_1': '', 'address_2': '', 'city': '', 'postcode': '', 'country': '', 'state': ''}, 'is_paying_customer': False, 'avatar_url': 'http://1.gravatar.com/avatar/a6ec41356168aea3c9432c02e75679d5?s=96&d=mm&r=g', 'meta_data': [], '_links': {'self': [{'href': 'http://192.168.1.100:11002/wp-json/wc/v3/customers/26'}], 'collection': [{'href': 'http://192.168.1.100:11002/wp-json/wc/v3/customers'}]}}, {'id': 8, 'date_created': '2020-10-28T17:39:51', 'date_created_gmt': '2020-10-28T17:39:51', 'date_modified': '2020-10-28T17:39:51', 'date_modified_gmt': '2020-10-28T17:39:51', 'email': '[email protected]', 'first_name': '', 'last_name': '', 'role': 'customer', 'username': 'testuser_ggdjjrpkmt', 'billing': {'first_name': '', 'last_name': '', 'company': '', 'address_1': '', 'address_2': '', 'city': '', 'postcode': '', 'country': '', 'state': '', 'email': '', 'phone': ''}, 'shipping': {'first_name': '', 'last_name': '', 'company': '', 'address_1': '', 'address_2': '', 'city': '', 'postcode': '', 'country': '', 'state': ''}, 'is_paying_customer': False, 'avatar_url': 'http://2.gravatar.com/avatar/80c7a4cf117226bdbced70a99ffcae30?s=96&d=mm&r=g', 'meta_data': [], '_links': {'self': [{'href': 'http://192.168.1.100:11002/wp-json/wc/v3/customers/8'}], 'collection': [{'href': 'http://192.168.1.100:11002/wp-json/wc/v3/customers'}]}}, {'id': 31, 'date_created': '2020-10-29T09:21:54', 'date_created_gmt': '2020-10-29T09:21:54', 'date_modified': '2020-10-29T09:21:54', 'date_modified_gmt': '2020-10-29T09:21:54', 'email': '[email protected]', 'first_name': '', 'last_name': '', 'role': 'customer', 'username': 'testuser_ghmubozght', 'billing': {'first_name': '', 'last_name': '', 'company': '', 'address_1': '', 'address_2': '', 'city': '', 'postcode': '', 'country': '', 'state': '', 'email': '', 'phone': ''}, 'shipping': {'first_name': '', 'last_name': '', 'company': '', 'address_1': '', 'address_2': '', 'city': '', 'postcode': '', 'country': '', 'state': ''}, 'is_paying_customer': False, 'avatar_url': 'http://2.gravatar.com/avatar/ec75d705b86766f1ce88b4a0b8f81eee?s=96&d=mm&r=g', 'meta_data': [], '_links': {'self': [{'href': 'http://192.168.1.100:11002/wp-json/wc/v3/customers/31'}], 'collection': [{'href': 'http://192.168.1.100:11002/wp-json/wc/v3/customers'}]}}]
PASSED [100%]
======================= 3 passed, 1 deselected in 0.86s ========================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment