Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip LRO tests that requires azure-mgmt-core 1.0.0b2 #519

Merged
merged 1 commit into from
Mar 23, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion test/azure/AcceptanceTests/asynctests/test_lro.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,10 @@ async def test_post_double_headers_final(self, client):
product = await client.lros.post_double_headers_final_azure_header_get()
assert product.id == "100"

# This test will work as long as the default is Azure-AsyncOperation
@pytest.mark.xfail(reason="https://github.com/Azure/autorest.python/pull/512")
@pytest.mark.asyncio
async def test_post_double_headers_default(self, client):
# This test will work as long as the default is Location
product = await client.lros.post_double_headers_final_azure_header_get_default()
assert product.id == "100"

Expand Down
4 changes: 3 additions & 1 deletion test/azure/AcceptanceTests/test_lro.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,9 @@ def test_post_double_headers_final(self, client):
product = client.lros.begin_post_double_headers_final_azure_header_get().result()
assert product.id == "100"

# This test will work as long as the default is Azure-AsyncOperation
@pytest.mark.xfail(reason="https://github.com/Azure/autorest.python/pull/512")
def test_post_double_headers_default(self, client):
# This test will work as long as the default is Location
product = client.lros.begin_post_double_headers_final_azure_header_get_default().result()
assert product.id == "100"

Expand Down