Skip to content
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
marked non-offline tests as live only
  • Loading branch information
Himanshu Barak committed Feb 10, 2024
commit 882e2e6604f6ed6e10627212bcc8f54165d3de15
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
from utils import HTTP_REQUESTS


@pytest.mark.live_test_only
@pytest.mark.asyncio
@pytest.mark.parametrize("http_request", HTTP_REQUESTS)
async def test_decompress_plain_no_header(http_request):
Expand All @@ -51,6 +52,7 @@ async def test_decompress_plain_no_header(http_request):
assert decoded == "test"


@pytest.mark.live_test_only
@pytest.mark.asyncio
@pytest.mark.parametrize("http_request", HTTP_REQUESTS)
async def test_compress_plain_no_header(http_request):
Expand All @@ -71,6 +73,7 @@ async def test_compress_plain_no_header(http_request):
assert decoded == "test"


@pytest.mark.live_test_only
@pytest.mark.asyncio
@pytest.mark.parametrize("http_request", HTTP_REQUESTS)
async def test_decompress_compressed_no_header(http_request):
Expand All @@ -94,6 +97,7 @@ async def test_decompress_compressed_no_header(http_request):
pass


@pytest.mark.live_test_only
@pytest.mark.asyncio
@pytest.mark.parametrize("http_request", HTTP_REQUESTS)
async def test_compress_compressed_no_header(http_request):
Expand Down Expand Up @@ -141,6 +145,7 @@ async def test_decompress_plain_header(http_request):
pass


@pytest.mark.live_test_only
@pytest.mark.asyncio
@pytest.mark.parametrize("http_request", HTTP_REQUESTS)
async def test_compress_plain_header(http_request):
Expand All @@ -161,6 +166,7 @@ async def test_compress_plain_header(http_request):
assert decoded == "test"


@pytest.mark.live_test_only
@pytest.mark.asyncio
@pytest.mark.parametrize("http_request", HTTP_REQUESTS)
async def test_decompress_compressed_header(http_request):
Expand Down
4 changes: 4 additions & 0 deletions sdk/core/azure-core/tests/test_streaming.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
from utils import HTTP_REQUESTS


@pytest.mark.live_test_only
@pytest.mark.parametrize("http_request", HTTP_REQUESTS)
def test_decompress_plain_no_header(http_request):
# expect plain text
Expand Down Expand Up @@ -79,6 +80,7 @@ def test_compress_plain_no_header(http_request):
assert decoded == "test"


@pytest.mark.live_test_only
@pytest.mark.parametrize("http_request", HTTP_REQUESTS)
def test_decompress_compressed_no_header(http_request):
# expect compressed text
Expand Down Expand Up @@ -158,6 +160,7 @@ def test_decompress_plain_header_offline(port, http_request):
list(data)


@pytest.mark.live_test_only
@pytest.mark.parametrize("http_request", HTTP_REQUESTS)
def test_compress_plain_header(http_request):
# expect plain text
Expand Down Expand Up @@ -204,6 +207,7 @@ def test_decompress_compressed_header_offline(port, http_request):
assert decoded == "test"


@pytest.mark.live_test_only
@pytest.mark.parametrize("http_request", HTTP_REQUESTS)
def test_compress_compressed_header(http_request):
# expect compressed text
Expand Down