diff --git a/test/azure/AcceptanceTests/asynctests/test_lro.py b/test/azure/AcceptanceTests/asynctests/test_lro.py index c18928bd919..20c890f092b 100644 --- a/test/azure/AcceptanceTests/asynctests/test_lro.py +++ b/test/azure/AcceptanceTests/asynctests/test_lro.py @@ -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" diff --git a/test/azure/AcceptanceTests/test_lro.py b/test/azure/AcceptanceTests/test_lro.py index 41a9bbe2842..ae6ebfbb9cb 100644 --- a/test/azure/AcceptanceTests/test_lro.py +++ b/test/azure/AcceptanceTests/test_lro.py @@ -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"