Skip to content

Commit

Permalink
Replace pytest.mark.skip("pending") (#14960)
Browse files Browse the repository at this point in the history
* removed almost all skip(pending) and replaced with more descriptive labels or issue numbers

* fixed the same row test. however, different errors are reported for tables vs. cosmos

* forgot a new recording

* adding only necessary re-records to the best of my abilities

* test_table_batch sole recording that is new

* recordings for cosmos tests

* removing unnecessary pytest.skips

* test_locale does not pass on all platforms

* removed all pytest.skip(...) statements, all have better explanations now.

* changing suppor -> support

* fixing user agent tests
  • Loading branch information
seankane-msft authored Nov 30, 2020
1 parent b85bb25 commit 528e5bb
Show file tree
Hide file tree
Showing 89 changed files with 6,757 additions and 3,867 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ interactions:
DataServiceVersion:
- '3.0'
Date:
- Wed, 28 Oct 2020 18:32:48 GMT
- Mon, 02 Nov 2020 20:58:07 GMT
User-Agent:
- azsdk-python-data-tables/12.0.0b3 Python/2.7.18 (Windows-10-10.0.19041)
x-ms-date:
- Wed, 28 Oct 2020 18:32:48 GMT
- Mon, 02 Nov 2020 20:58:07 GMT
x-ms-version:
- '2019-02-02'
method: POST
Expand All @@ -33,7 +33,7 @@ interactions:
content-type:
- application/json;odata=minimalmetadata;streaming=true;charset=utf-8
date:
- Wed, 28 Oct 2020 18:32:48 GMT
- Mon, 02 Nov 2020 20:58:07 GMT
location:
- https://tablesteststorname.table.core.windows.net/Tables('pytablesync99dc0b08')
server:
Expand Down Expand Up @@ -65,11 +65,11 @@ interactions:
DataServiceVersion:
- '3.0'
Date:
- Wed, 28 Oct 2020 18:32:49 GMT
- Mon, 02 Nov 2020 20:58:08 GMT
User-Agent:
- azsdk-python-data-tables/12.0.0b3 Python/2.7.18 (Windows-10-10.0.19041)
x-ms-date:
- Wed, 28 Oct 2020 18:32:49 GMT
- Mon, 02 Nov 2020 20:58:08 GMT
x-ms-version:
- '2019-02-02'
method: PATCH
Expand All @@ -83,9 +83,9 @@ interactions:
content-length:
- '0'
date:
- Wed, 28 Oct 2020 18:32:48 GMT
- Mon, 02 Nov 2020 20:58:07 GMT
etag:
- W/"datetime'2020-10-28T18%3A32%3A49.2162789Z'"
- W/"datetime'2020-11-02T20%3A58%3A08.4386817Z'"
server:
- Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
x-content-type-options:
Expand Down Expand Up @@ -113,11 +113,11 @@ interactions:
DataServiceVersion:
- '3.0'
Date:
- Wed, 28 Oct 2020 18:32:49 GMT
- Mon, 02 Nov 2020 20:58:08 GMT
User-Agent:
- azsdk-python-data-tables/12.0.0b3 Python/2.7.18 (Windows-10-10.0.19041)
x-ms-date:
- Wed, 28 Oct 2020 18:32:49 GMT
- Mon, 02 Nov 2020 20:58:08 GMT
x-ms-version:
- '2019-02-02'
method: PATCH
Expand All @@ -131,9 +131,9 @@ interactions:
content-length:
- '0'
date:
- Wed, 28 Oct 2020 18:32:48 GMT
- Mon, 02 Nov 2020 20:58:07 GMT
etag:
- W/"datetime'2020-10-28T18%3A32%3A49.306344Z'"
- W/"datetime'2020-11-02T20%3A58%3A08.4867171Z'"
server:
- Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
x-content-type-options:
Expand All @@ -155,25 +155,25 @@ interactions:
DataServiceVersion:
- '3.0'
Date:
- Wed, 28 Oct 2020 18:32:49 GMT
- Mon, 02 Nov 2020 20:58:08 GMT
User-Agent:
- azsdk-python-data-tables/12.0.0b3 Python/2.7.18 (Windows-10-10.0.19041)
x-ms-date:
- Wed, 28 Oct 2020 18:32:49 GMT
- Mon, 02 Nov 2020 20:58:08 GMT
x-ms-version:
- '2019-02-02'
method: GET
uri: https://tablesteststorname.table.core.windows.net/pytablesync99dc0b08()?ss=t&sp=r&sv=2019-02-02&st=2020-10-28T18%3A31%3A49Z&sig=DB%2BDxKndQ66YF%2BBcZMXwv%2FAQ5a8%2F44LtYVwpop%2Bc%2B1o%3D&srt=o&se=2020-10-28T19%3A32%3A49Z
uri: https://tablesteststorname.table.core.windows.net/pytablesync99dc0b08()?ss=t&sp=r&sv=2019-02-02&st=2020-11-02T20%3A57%3A08Z&sig=zjyBnYdUm3F6CJP5gSH%2FG7tYpvcWrn48JgP16%2Fvz82I%3D&srt=o&se=2020-11-02T21%3A58%3A08Z
response:
body:
string: !!python/unicode '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#pytablesync99dc0b08","value":[{"odata.etag":"W/\"datetime''2020-10-28T18%3A32%3A49.2162789Z''\"","PartitionKey":"test","RowKey":"test1","Timestamp":"2020-10-28T18:32:49.2162789Z","text":"hello"},{"odata.etag":"W/\"datetime''2020-10-28T18%3A32%3A49.306344Z''\"","PartitionKey":"test","RowKey":"test2","Timestamp":"2020-10-28T18:32:49.306344Z","text":"hello"}]}'
string: !!python/unicode '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#pytablesync99dc0b08","value":[{"odata.etag":"W/\"datetime''2020-11-02T20%3A58%3A08.4386817Z''\"","PartitionKey":"test","RowKey":"test1","Timestamp":"2020-11-02T20:58:08.4386817Z","text":"hello"},{"odata.etag":"W/\"datetime''2020-11-02T20%3A58%3A08.4867171Z''\"","PartitionKey":"test","RowKey":"test2","Timestamp":"2020-11-02T20:58:08.4867171Z","text":"hello"}]}'
headers:
cache-control:
- no-cache
content-type:
- application/json;odata=minimalmetadata;streaming=true;charset=utf-8
date:
- Wed, 28 Oct 2020 18:32:49 GMT
- Mon, 02 Nov 2020 20:58:07 GMT
server:
- Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
transfer-encoding:
Expand All @@ -197,11 +197,11 @@ interactions:
Content-Length:
- '0'
Date:
- Wed, 28 Oct 2020 18:32:49 GMT
- Mon, 02 Nov 2020 20:58:09 GMT
User-Agent:
- azsdk-python-data-tables/12.0.0b3 Python/2.7.18 (Windows-10-10.0.19041)
x-ms-date:
- Wed, 28 Oct 2020 18:32:49 GMT
- Mon, 02 Nov 2020 20:58:09 GMT
x-ms-version:
- '2019-02-02'
method: DELETE
Expand All @@ -215,7 +215,7 @@ interactions:
content-length:
- '0'
date:
- Wed, 28 Oct 2020 18:32:49 GMT
- Mon, 02 Nov 2020 20:58:08 GMT
server:
- Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
x-content-type-options:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,27 +15,27 @@ interactions:
DataServiceVersion:
- '3.0'
Date:
- Wed, 16 Sep 2020 21:51:17 GMT
- Mon, 02 Nov 2020 22:11:40 GMT
User-Agent:
- azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0)
- azsdk-python-data-tables/12.0.0b3 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0)
x-ms-date:
- Wed, 16 Sep 2020 21:51:17 GMT
- Mon, 02 Nov 2020 22:11:40 GMT
x-ms-version:
- '2019-02-02'
method: POST
uri: https://storagename.table.core.windows.net/Tables
uri: https://tablesteststorname.table.core.windows.net/Tables
response:
body:
string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"pytablesynce4f40d95"}'
string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"pytablesynce4f40d95"}'
headers:
cache-control:
- no-cache
content-type:
- application/json;odata=minimalmetadata;streaming=true;charset=utf-8
date:
- Wed, 16 Sep 2020 21:51:16 GMT
- Mon, 02 Nov 2020 22:11:40 GMT
location:
- https://storagename.table.core.windows.net/Tables('pytablesynce4f40d95')
- https://tablesteststorname.table.core.windows.net/Tables('pytablesynce4f40d95')
server:
- Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
transfer-encoding:
Expand All @@ -57,24 +57,24 @@ interactions:
Connection:
- keep-alive
Date:
- Wed, 16 Sep 2020 21:51:17 GMT
- Mon, 02 Nov 2020 22:11:41 GMT
User-Agent:
- azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0)
- azsdk-python-data-tables/12.0.0b3 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0)
x-ms-date:
- Wed, 16 Sep 2020 21:51:17 GMT
- Mon, 02 Nov 2020 22:11:41 GMT
x-ms-version:
- '2019-02-02'
method: GET
uri: https://storagename.table.core.windows.net/?restype=service&comp=properties
uri: https://tablesteststorname.table.core.windows.net/?restype=service&comp=properties
response:
body:
string: "\uFEFF<?xml version=\"1.0\" encoding=\"utf-8\"?><StorageServiceProperties><Logging><Version>1.0</Version><Read>false</Read><Write>false</Write><Delete>false</Delete><RetentionPolicy><Enabled>false</Enabled></RetentionPolicy></Logging><HourMetrics><Version>1.0</Version><Enabled>true</Enabled><IncludeAPIs>true</IncludeAPIs><RetentionPolicy><Enabled>true</Enabled><Days>7</Days></RetentionPolicy></HourMetrics><MinuteMetrics><Version>1.0</Version><Enabled>false</Enabled><RetentionPolicy><Enabled>false</Enabled></RetentionPolicy></MinuteMetrics><Cors
/></StorageServiceProperties>"
string: "\uFEFF<?xml version=\"1.0\" encoding=\"utf-8\"?><StorageServiceProperties><Logging><Version>1.0</Version><Read>false</Read><Write>false</Write><Delete>false</Delete><RetentionPolicy><Enabled>false</Enabled></RetentionPolicy></Logging><HourMetrics><Version>1.0</Version><Enabled>true</Enabled><IncludeAPIs>true</IncludeAPIs><RetentionPolicy><Enabled>true</Enabled><Days>7</Days></RetentionPolicy></HourMetrics><MinuteMetrics><Version>1.0</Version><Enabled>false</Enabled><RetentionPolicy><Enabled>false</Enabled></RetentionPolicy></MinuteMetrics><Cors\
\ /></StorageServiceProperties>"
headers:
content-type:
- application/xml
date:
- Wed, 16 Sep 2020 21:51:16 GMT
- Mon, 02 Nov 2020 22:11:40 GMT
server:
- Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
transfer-encoding:
Expand All @@ -100,21 +100,21 @@ interactions:
Content-Type:
- application/xml
Date:
- Wed, 16 Sep 2020 21:51:17 GMT
- Mon, 02 Nov 2020 22:11:41 GMT
User-Agent:
- azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0)
- azsdk-python-data-tables/12.0.0b3 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0)
x-ms-date:
- Wed, 16 Sep 2020 21:51:17 GMT
- Mon, 02 Nov 2020 22:11:41 GMT
x-ms-version:
- '2019-02-02'
method: PUT
uri: https://storagename.table.core.windows.net/?restype=service&comp=properties
uri: https://tablesteststorname.table.core.windows.net/?restype=service&comp=properties
response:
body:
string: ''
headers:
date:
- Wed, 16 Sep 2020 21:51:16 GMT
- Mon, 02 Nov 2020 22:11:40 GMT
server:
- Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
transfer-encoding:
Expand All @@ -134,24 +134,24 @@ interactions:
Connection:
- keep-alive
Date:
- Wed, 16 Sep 2020 21:51:17 GMT
- Mon, 02 Nov 2020 22:11:41 GMT
User-Agent:
- azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0)
- azsdk-python-data-tables/12.0.0b3 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0)
x-ms-date:
- Wed, 16 Sep 2020 21:51:17 GMT
- Mon, 02 Nov 2020 22:11:41 GMT
x-ms-version:
- '2019-02-02'
method: GET
uri: https://storagename.table.core.windows.net/?restype=service&comp=properties
uri: https://tablesteststorname.table.core.windows.net/?restype=service&comp=properties
response:
body:
string: "\uFEFF<?xml version=\"1.0\" encoding=\"utf-8\"?><StorageServiceProperties><Logging><Version>1.0</Version><Read>false</Read><Write>false</Write><Delete>false</Delete><RetentionPolicy><Enabled>false</Enabled></RetentionPolicy></Logging><HourMetrics><Version>1.0</Version><Enabled>true</Enabled><IncludeAPIs>true</IncludeAPIs><RetentionPolicy><Enabled>true</Enabled><Days>7</Days></RetentionPolicy></HourMetrics><MinuteMetrics><Version>1.0</Version><Enabled>false</Enabled><RetentionPolicy><Enabled>false</Enabled></RetentionPolicy></MinuteMetrics><Cors
/></StorageServiceProperties>"
string: "\uFEFF<?xml version=\"1.0\" encoding=\"utf-8\"?><StorageServiceProperties><Logging><Version>1.0</Version><Read>false</Read><Write>false</Write><Delete>false</Delete><RetentionPolicy><Enabled>false</Enabled></RetentionPolicy></Logging><HourMetrics><Version>1.0</Version><Enabled>true</Enabled><IncludeAPIs>true</IncludeAPIs><RetentionPolicy><Enabled>true</Enabled><Days>7</Days></RetentionPolicy></HourMetrics><MinuteMetrics><Version>1.0</Version><Enabled>false</Enabled><RetentionPolicy><Enabled>false</Enabled></RetentionPolicy></MinuteMetrics><Cors\
\ /></StorageServiceProperties>"
headers:
content-type:
- application/xml
date:
- Wed, 16 Sep 2020 21:51:16 GMT
- Mon, 02 Nov 2020 22:11:40 GMT
server:
- Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
transfer-encoding:
Expand All @@ -177,21 +177,21 @@ interactions:
Content-Type:
- application/xml
Date:
- Wed, 16 Sep 2020 21:51:17 GMT
- Mon, 02 Nov 2020 22:11:41 GMT
User-Agent:
- azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0)
- azsdk-python-data-tables/12.0.0b3 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0)
x-ms-date:
- Wed, 16 Sep 2020 21:51:17 GMT
- Mon, 02 Nov 2020 22:11:41 GMT
x-ms-version:
- '2019-02-02'
method: PUT
uri: https://storagename.table.core.windows.net/?restype=service&comp=properties
uri: https://tablesteststorname.table.core.windows.net/?restype=service&comp=properties
response:
body:
string: ''
headers:
date:
- Wed, 16 Sep 2020 21:51:16 GMT
- Mon, 02 Nov 2020 22:11:40 GMT
server:
- Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
transfer-encoding:
Expand All @@ -211,24 +211,24 @@ interactions:
Connection:
- keep-alive
Date:
- Wed, 16 Sep 2020 21:51:17 GMT
- Mon, 02 Nov 2020 22:11:41 GMT
User-Agent:
- azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0)
- azsdk-python-data-tables/12.0.0b3 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0)
x-ms-date:
- Wed, 16 Sep 2020 21:51:17 GMT
- Mon, 02 Nov 2020 22:11:41 GMT
x-ms-version:
- '2019-02-02'
method: GET
uri: https://storagename.table.core.windows.net/?restype=service&comp=properties
uri: https://tablesteststorname.table.core.windows.net/?restype=service&comp=properties
response:
body:
string: "\uFEFF<?xml version=\"1.0\" encoding=\"utf-8\"?><StorageServiceProperties><Logging><Version>1.0</Version><Read>false</Read><Write>false</Write><Delete>false</Delete><RetentionPolicy><Enabled>false</Enabled></RetentionPolicy></Logging><HourMetrics><Version>1.0</Version><Enabled>true</Enabled><IncludeAPIs>true</IncludeAPIs><RetentionPolicy><Enabled>true</Enabled><Days>7</Days></RetentionPolicy></HourMetrics><MinuteMetrics><Version>1.0</Version><Enabled>false</Enabled><RetentionPolicy><Enabled>false</Enabled></RetentionPolicy></MinuteMetrics><Cors
/></StorageServiceProperties>"
string: "\uFEFF<?xml version=\"1.0\" encoding=\"utf-8\"?><StorageServiceProperties><Logging><Version>1.0</Version><Read>false</Read><Write>false</Write><Delete>false</Delete><RetentionPolicy><Enabled>false</Enabled></RetentionPolicy></Logging><HourMetrics><Version>1.0</Version><Enabled>true</Enabled><IncludeAPIs>true</IncludeAPIs><RetentionPolicy><Enabled>true</Enabled><Days>7</Days></RetentionPolicy></HourMetrics><MinuteMetrics><Version>1.0</Version><Enabled>false</Enabled><RetentionPolicy><Enabled>false</Enabled></RetentionPolicy></MinuteMetrics><Cors\
\ /></StorageServiceProperties>"
headers:
content-type:
- application/xml
date:
- Wed, 16 Sep 2020 21:51:17 GMT
- Mon, 02 Nov 2020 22:11:40 GMT
server:
- Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
transfer-encoding:
Expand All @@ -250,15 +250,15 @@ interactions:
Content-Length:
- '0'
Date:
- Wed, 16 Sep 2020 21:51:17 GMT
- Mon, 02 Nov 2020 22:11:41 GMT
User-Agent:
- azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0)
- azsdk-python-data-tables/12.0.0b3 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0)
x-ms-date:
- Wed, 16 Sep 2020 21:51:17 GMT
- Mon, 02 Nov 2020 22:11:41 GMT
x-ms-version:
- '2019-02-02'
method: DELETE
uri: https://storagename.table.core.windows.net/Tables('pytablesynce4f40d95')
uri: https://tablesteststorname.table.core.windows.net/Tables('pytablesynce4f40d95')
response:
body:
string: ''
Expand All @@ -268,7 +268,7 @@ interactions:
content-length:
- '0'
date:
- Wed, 16 Sep 2020 21:51:17 GMT
- Mon, 02 Nov 2020 22:11:40 GMT
server:
- Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
x-content-type-options:
Expand Down
Loading

0 comments on commit 528e5bb

Please sign in to comment.