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

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

src/p/y/pytest_django-HEAD/tests/test_utils.py   pytest_django(Download)
def test_load_fixtures():
    py.test.load_fixture('items')
    assert Item.objects.count() == 1
    assert Item.objects.all()[0].name == 'Fixture item'