Skip to content

Commit ff07f0b

Browse files
HimanshuBarakHimanshu Barak
authored andcommitted
marked non-offline tests as live only (Azure#34247)
Co-authored-by: Himanshu Barak <[email protected]>
1 parent acf64d4 commit ff07f0b

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

sdk/core/azure-core/tests/async_tests/test_streaming_async.py

+6
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
from utils import HTTP_REQUESTS
3232

3333

34+
@pytest.mark.live_test_only
3435
@pytest.mark.asyncio
3536
@pytest.mark.parametrize("http_request", HTTP_REQUESTS)
3637
async def test_decompress_plain_no_header(http_request):
@@ -51,6 +52,7 @@ async def test_decompress_plain_no_header(http_request):
5152
assert decoded == "test"
5253

5354

55+
@pytest.mark.live_test_only
5456
@pytest.mark.asyncio
5557
@pytest.mark.parametrize("http_request", HTTP_REQUESTS)
5658
async def test_compress_plain_no_header(http_request):
@@ -71,6 +73,7 @@ async def test_compress_plain_no_header(http_request):
7173
assert decoded == "test"
7274

7375

76+
@pytest.mark.live_test_only
7477
@pytest.mark.asyncio
7578
@pytest.mark.parametrize("http_request", HTTP_REQUESTS)
7679
async def test_decompress_compressed_no_header(http_request):
@@ -94,6 +97,7 @@ async def test_decompress_compressed_no_header(http_request):
9497
pass
9598

9699

100+
@pytest.mark.live_test_only
97101
@pytest.mark.asyncio
98102
@pytest.mark.parametrize("http_request", HTTP_REQUESTS)
99103
async def test_compress_compressed_no_header(http_request):
@@ -141,6 +145,7 @@ async def test_decompress_plain_header(http_request):
141145
pass
142146

143147

148+
@pytest.mark.live_test_only
144149
@pytest.mark.asyncio
145150
@pytest.mark.parametrize("http_request", HTTP_REQUESTS)
146151
async def test_compress_plain_header(http_request):
@@ -161,6 +166,7 @@ async def test_compress_plain_header(http_request):
161166
assert decoded == "test"
162167

163168

169+
@pytest.mark.live_test_only
164170
@pytest.mark.asyncio
165171
@pytest.mark.parametrize("http_request", HTTP_REQUESTS)
166172
async def test_decompress_compressed_header(http_request):

sdk/core/azure-core/tests/test_streaming.py

+4
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
from utils import HTTP_REQUESTS
3232

3333

34+
@pytest.mark.live_test_only
3435
@pytest.mark.parametrize("http_request", HTTP_REQUESTS)
3536
def test_decompress_plain_no_header(http_request):
3637
# expect plain text
@@ -79,6 +80,7 @@ def test_compress_plain_no_header(http_request):
7980
assert decoded == "test"
8081

8182

83+
@pytest.mark.live_test_only
8284
@pytest.mark.parametrize("http_request", HTTP_REQUESTS)
8385
def test_decompress_compressed_no_header(http_request):
8486
# expect compressed text
@@ -158,6 +160,7 @@ def test_decompress_plain_header_offline(port, http_request):
158160
list(data)
159161

160162

163+
@pytest.mark.live_test_only
161164
@pytest.mark.parametrize("http_request", HTTP_REQUESTS)
162165
def test_compress_plain_header(http_request):
163166
# expect plain text
@@ -204,6 +207,7 @@ def test_decompress_compressed_header_offline(port, http_request):
204207
assert decoded == "test"
205208

206209

210+
@pytest.mark.live_test_only
207211
@pytest.mark.parametrize("http_request", HTTP_REQUESTS)
208212
def test_compress_compressed_header(http_request):
209213
# expect compressed text

0 commit comments

Comments
 (0)