Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)

src/p/o/portfoliyo-HEAD/portfoliyo/tests/test_celery.py   portfoliyo(Download)
"""Tests for our transactional Celery behavior."""
import pytest
 
from portfoliyo import celery, tasks, xact
from portfoliyo.tests import factories

src/p/o/portfoliyo-HEAD/portfoliyo/tests/conftest.py   portfoliyo(Download)
    """
    if 'db' in request.funcargnames:
        from portfoliyo import celery
        celery._original_in_transaction = celery._in_transaction
        celery._in_transaction = lambda: False