strawberry.tests package

Submodules

strawberry.tests.base module

Base tests.

class strawberry.tests.base.BaseTestCase(methodName='runTest')[source]

Bases: django.test.testcases.TransactionTestCase

Base test case.

pytestmark = [<MarkDecorator 'django_db' {'args': (), 'kwargs': {}}>, <MarkDecorator 'django_db' {'args': (), 'kwargs': {}}>]
classmethod setUpClass()[source]

Set up class.

strawberry.tests.test_fields module

Test fields.

class strawberry.tests.test_fields.TestFields(methodName='runTest')[source]

Bases: strawberry.tests.base.BaseTestCase

Test fields.

pytestmark = [<MarkDecorator 'django_db' {'args': (), 'kwargs': {}}>, <MarkDecorator 'django_db' {'args': (), 'kwargs': {}}>]
classmethod setUpClass()[source]

Set up class.

test_filter_by_field()[source]

Filter by field.

Module contents

Tests.

class strawberry.tests.TestFields(methodName='runTest')[source]

Bases: strawberry.tests.base.BaseTestCase

Test fields.

pytestmark = [<MarkDecorator 'django_db' {'args': (), 'kwargs': {}}>, <MarkDecorator 'django_db' {'args': (), 'kwargs': {}}>]
classmethod setUpClass()[source]

Set up class.

test_filter_by_field()[source]

Filter by field.