Skip to content

Commit e388455

Browse files
authored
Remove recording condition for playback-only test decorator (#42717)
1 parent 28abd08 commit e388455

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

sdk/conftest.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
# IN THE SOFTWARE.
2424
#
2525
# --------------------------------------------------------------------------
26-
import os
2726
import pytest
2827

2928
# In instances where packages do not require azure-sdk-tools we need to make sure that the following imports do not fail.
@@ -51,7 +50,7 @@ def pytest_runtest_setup(item):
5150
if is_playback_test_marked:
5251
from devtools_testutils import is_live
5352

54-
if is_live() and os.environ.get("AZURE_SKIP_LIVE_RECORDING", "").lower() == "true":
53+
if is_live():
5554
pytest.skip("playback test only")
5655

5756

0 commit comments

Comments
 (0)