Skip to content

Commit

Permalink
Skip LRO tests that requires azure-mgmt-core 1.0.0b2 (#519)
Browse files Browse the repository at this point in the history
  • Loading branch information
lmazuel authored Mar 23, 2020
1 parent e23dc59 commit a1872d6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
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

0 comments on commit a1872d6

Please sign in to comment.