Skip to content

Update testing#13034

Merged
seankane-msft merged 10 commits intoAzure:masterfrom
seankane-msft:update-testing
Aug 20, 2020
Merged

Update testing#13034
seankane-msft merged 10 commits intoAzure:masterfrom
seankane-msft:update-testing

Conversation

@seankane-msft
Copy link
Contributor

Fixes #12999 adds more tests, adds recordings for new tests

@seankane-msft seankane-msft added Client This issue points to a problem in the data-plane of the library. Tables labels Aug 11, 2020
@seankane-msft seankane-msft added this to the [2020] September milestone Aug 11, 2020
@seankane-msft seankane-msft self-assigned this Aug 11, 2020
iscai-msft
iscai-msft previously approved these changes Aug 12, 2020

_CONNECTION_ENDPOINTS_SECONDARY = {'table': 'TableSecondaryEndpoint', 'cosmos': 'TableSecondaryEndpoint'}

class StorageTableClientTest(TableTestCase):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: I think this could be an issue dealt with later, but would it be possible to split up the test files a little more? Maybe into ones using connection strings

async def test_create_service_with_key_async(self, resource_group, location, storage_account, storage_account_key):
# Arrange

for client, url in SERVICES.items():
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you check that these tests are actually running as expected? I see SERVICES commented out above so I don't think we're actually hitting any of these calls/asserts.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're correct, we are not hitting any of these.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is that intentional?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

discussed offline

@iscai-msft
Copy link
Contributor

@seankane-msft are you able to have a pipeline run when you add BuildTargetingString?

kristapratico
kristapratico previously approved these changes Aug 19, 2020
self.assertIsInstance(tables, list)

# @pytest.mark.skip("pending")
@pytest.mark.skip("pending")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason this one is skipped?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No it is passing fine, I will uncomment it. Good catch!

Copy link
Member

@annatisch annatisch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM :)

@seankane-msft seankane-msft merged commit 522498f into Azure:master Aug 20, 2020
@seankane-msft seankane-msft deleted the update-testing branch August 20, 2020 13:38
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-python that referenced this pull request Feb 18, 2021
{storage} Add new api version in readme (Azure#13034)

* add api

* refine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Client This issue points to a problem in the data-plane of the library. Tables

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[tables] add corresponding async test files for existing sync tests

4 participants