Skip to content

Commit 256f2de

Browse files
committed
just checking the value is here
1 parent 2ea5c81 commit 256f2de

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

tests/telemetry/test_data.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,6 @@ def test_get_application_with_values():
4545

4646

4747
def test_get_application_with_process_tags():
48-
from ddtrace.internal.process_tags.constants import ENTRYPOINT_BASEDIR_TAG
49-
from ddtrace.internal.process_tags.constants import ENTRYPOINT_NAME_TAG
50-
from ddtrace.internal.process_tags.constants import ENTRYPOINT_TYPE_SCRIPT
51-
from ddtrace.internal.process_tags.constants import ENTRYPOINT_TYPE_TAG
52-
from ddtrace.internal.process_tags.constants import ENTRYPOINT_WORKDIR_TAG
5348
from ddtrace.settings._config import config
5449

5550
with mock.patch("sys.argv", ["/path/to/test_script.py"]), mock.patch("os.getcwd", return_value="/path/to/workdir"):
@@ -59,16 +54,6 @@ def test_get_application_with_process_tags():
5954

6055
application = get_application("", "", "")
6156
assert "process_tags" in application
62-
63-
process_tags = application["process_tags"]
64-
65-
expected_raw = (
66-
f"{ENTRYPOINT_BASEDIR_TAG}:to,"
67-
f"{ENTRYPOINT_NAME_TAG}:test_script,"
68-
f"{ENTRYPOINT_TYPE_TAG}:{ENTRYPOINT_TYPE_SCRIPT},"
69-
f"{ENTRYPOINT_WORKDIR_TAG}:workdir"
70-
)
71-
assert process_tags == expected_raw
7257
finally:
7358
config._process_tags_enabled = False
7459
_process_tag_reload()

0 commit comments

Comments
 (0)