<filename>tests/commands/ddtrace_run_patched_modules.py
from ddtrace import _monkey


if __name__ == "__main__":
    assert "redis" in _monkey._get_patched_modules()
    print("Test success")

<filename>tests/commands/ddtrace_run_patched_modules.py
from ddtrace import _monkey


if __name__ == "__main__":
    assert "redis" in _monkey._get_patched_modules()
    print("Test success")
