Files
2020-04-08 10:39:44 -07:00

10 lines
271 B
Python

from ddtrace import Pin
if __name__ == '__main__':
# have to import celery in order to have the post-import hooks run
import celery
# now celery.Celery should be patched and should have a pin
assert Pin.get_from(celery.Celery)
print('Test success')