In order to capture code coverage on your backend server, you need to run it using our Python test listener agent
...
When working with uWSGI you need to run uWSGI with the following flags either in the command line or in the uwsgi configuration file: --enable-threads --single-interpreter --lazy-apps --import python_agent.init
...
Code Block | ||||
---|---|---|---|---|
| ||||
[uwsgi]
...
enable-threads = true
single-interpreter = true
lazy-apps = true
import = python_agent.init |
...