Skip to content

Commit

Permalink
remove unneeded tests
Browse files Browse the repository at this point in the history
  • Loading branch information
goapunk committed Oct 22, 2024
1 parent 12c0976 commit 37ac966
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 197 deletions.
9 changes: 0 additions & 9 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@
from pytest_factoryboy import register
from rest_framework.test import APIClient

from adhocracy4.test import factories as a4_factories
from adhocracy4.test import helpers
from tests.organisations import factories as org_factories

from . import factories

Expand All @@ -15,13 +13,6 @@
register(factories.AdminFactory, 'admin')
register(factories.ContentTypeFactory)

register(org_factories.OrganisationFactory)
register(org_factories.OrganisationFactory, 'other_organisation')
register(a4_factories.GroupFactory)
register(a4_factories.ProjectFactory)
register(a4_factories.ModuleFactory)
register(factories.PhaseFactory)


def pytest_configure(config):
# Patch email background_task decorators for all tests
Expand Down
6 changes: 0 additions & 6 deletions tests/factories.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
from django.core.files import images
from PIL import Image

from adhocracy4.test import factories


class UserFactory(factory.django.DjangoModelFactory):

Expand Down Expand Up @@ -36,10 +34,6 @@ class Meta:
name = factory.Faker('name')


class PhaseFactory(factories.PhaseFactory):
type = 'blog:phase'


class ImageFactory():
"""
Create a django file object containg an image.
Expand Down
Empty file removed tests/organisations/__init__.py
Empty file.
28 changes: 0 additions & 28 deletions tests/organisations/factories.py

This file was deleted.

101 changes: 0 additions & 101 deletions tests/organisations/test_models.py

This file was deleted.

20 changes: 0 additions & 20 deletions tests/organisations/test_views.py

This file was deleted.

33 changes: 0 additions & 33 deletions tests/users/test_models.py

This file was deleted.

0 comments on commit 37ac966

Please sign in to comment.