Skip to content

Commit cd234ef

Browse files
g-normandmarkzegarelli
andauthored
Update documentation about testing (#2917)
* Update documentation about testing * Update src/connections/sources/catalog/libraries/server/python/index.md Co-authored-by: markzegarelli <[email protected]> Co-authored-by: markzegarelli <[email protected]>
1 parent 728afee commit cd234ef

File tree

1 file changed

+6
-0
lines changed
  • src/connections/sources/catalog/libraries/server/python

1 file changed

+6
-0
lines changed

src/connections/sources/catalog/libraries/server/python/index.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@ analytics.debug = True
4545
analytics.on_error = on_error
4646
```
4747

48+
If you don't want to send information to Segment during testing, add the following code to your test:
49+
50+
```python
51+
analytics.send = False
52+
```
53+
4854
**Using Django?** Check out the [Django docs](/docs/connections/sources/catalog/libraries/server/python/#django).
4955

5056
## Identify

0 commit comments

Comments
 (0)