File: conftest.py

package info (click to toggle)
strawberry-graphql-django 0.62.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,968 kB
  • sloc: python: 27,530; sh: 17; makefile: 16
file content (9 lines) | stat: -rw-r--r-- 133 bytes parent folder | download
1
2
3
4
5
6
7
8
9
import pytest


@pytest.fixture
def query(schema):
    def query(query):
        return schema.execute_sync(query)

    return query