Skip to content

Commit

Permalink
revert accidental django change
Browse files Browse the repository at this point in the history
  • Loading branch information
ZStriker19 committed Feb 4, 2025
1 parent bd79134 commit 0bb5b4e
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions tests/contrib/django/test_django.py
Original file line number Diff line number Diff line change
Expand Up @@ -2018,8 +2018,7 @@ def test_django_use_handler_resource_format_env(client, test_spans):
"python",
"-c",
(
"from ddtrace import config "
"from ddtrace._monkey import _patch_all; _patch_all(); "
"from ddtrace import config, patch_all; patch_all(); "
"import django; "
"assert config.django.use_handler_resource_format; print('Test success')"
),
Expand All @@ -2038,8 +2037,7 @@ def test_django_use_handler_with_url_name_resource_format_env(client, test_spans
"python",
"-c",
(
"from ddtrace import config "
"from ddtrace._monkey import _patch_all; _patch_all(); "
"from ddtrace import config, patch_all; patch_all(); "
"import django; "
"assert config.django.use_handler_with_url_name_resource_format; print('Test success')"
),
Expand Down Expand Up @@ -2119,8 +2117,7 @@ def test_django_use_legacy_resource_format_env(client, test_spans):
"python",
"-c",
(
"from ddtrace import config "
"from ddtrace._monkey import _patch_all; _patch_all(); "
"from ddtrace import config, patch_all; patch_all(); "
"import django; "
"assert config.django.use_legacy_resource_format; print('Test success')"
),
Expand Down

0 comments on commit 0bb5b4e

Please sign in to comment.