Skip to content

Commit 0dc0d53

Browse files
committed
chore(iast): split wrapped_view hook
1 parent ac66b59 commit 0dc0d53

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/appsec/integrations/flask_tests/test_iast_flask.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
from ddtrace.settings.asm import config as asm_config
2525
from tests.appsec.iast.iast_utils import get_line_and_hash
2626
from tests.contrib.flask import BaseFlaskTestCase
27-
from tests.utils import override_env
2827
from tests.utils import override_global_config
2928

3029

@@ -41,7 +40,7 @@ def inject_fixtures(self, caplog, telemetry_writer): # noqa: F811
4140
self._caplog = caplog
4241

4342
def setUp(self):
44-
with override_env({"_DD_IAST_USE_ROOT_SPAN": "false"}), override_global_config(
43+
with override_global_config(
4544
dict(
4645
_iast_enabled=True,
4746
_iast_deduplication_enabled=False,
@@ -54,7 +53,7 @@ def setUp(self):
5453
patch_xss_injection()
5554
patch_json()
5655
super(FlaskAppSecIASTEnabledTestCase, self).setUp()
57-
self.tracer._configure(api_version="v0.4", appsec_enabled=True, iast_enabled=True)
56+
self.tracer._configure(api_version="v0.4", iast_enabled=True)
5857
oce.reconfigure()
5958

6059
@pytest.mark.skipif(not asm_config._iast_supported, reason="Python version not supported by IAST")

0 commit comments

Comments
 (0)