Skip to content

Commit 847a10b

Browse files
edrevobrettlangdon
andauthored
Minor documentation clarification in pytest module (#2968)
If a user uses the --ddtrace-patch-all option without --ddtrace, they are effectively not enabling the CI Visibility integration. This PR adds text to clarify that both options should be used. Co-authored-by: Brett Langdon <[email protected]>
1 parent 7f886a0 commit 847a10b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ddtrace/contrib/pytest/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@
1111
[pytest]
1212
ddtrace = 1
1313
14-
You can enable all integrations by using the ``--ddtrace-patch-all`` option or by adding this to your configuration::
14+
You can enable all integrations by using the ``--ddtrace-patch-all`` option
15+
alongside ``--ddtrace`` or by adding this to your configuration::
1516
1617
[pytest]
18+
ddtrace = 1
1719
ddtrace-patch-all = 1
1820
1921
Global Configuration

0 commit comments

Comments
 (0)