# Coverage for tests/conftest.py : 100%

## 12 statements 12 run 0 missing 0 excluded 0 partial

Hot-keys on this page

r m x p toggle line displays

j k next/prev highlighted chunk

0 (zero) top of page

1 (one) first highlighted chunk

1 from gevent import monkey

2 monkey.patch_all()

3 import gevent

4

5 gevent.getcurrent().gr_name = 'MAIN'

6

7 import utils.log

8 utils.log.patch_gevent_hub_print_exception()

9

10 import _pytest.logging

11

12_pytest.logging.LoggingPlugin._create_formatter = lambda *_: utils.log.ServerLogFormatter()

13

14 from thb.thbunit import inject

15 inject()

16

17 import utils.misc

18 utils.misc.DO_NOT_THROTTLE = True