Skip to content

Commit

Permalink
Actually remove system and pretranslation user fixtures from pontoon.…
Browse files Browse the repository at this point in the history
…insights tests
  • Loading branch information
potat0 committed Feb 3, 2024
1 parent 872b9ce commit 69f4797
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions pontoon/insights/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,12 @@

import pytest
from dateutil.relativedelta import relativedelta
from django.contrib.auth.models import User
from django.shortcuts import render
from django.urls import reverse

from pontoon.actionlog.models import ActionLog
from pontoon.insights import views
from pontoon.test.factories import (
UserFactory,
ResourceFactory,
TranslationFactory,
)
Expand All @@ -37,17 +35,6 @@ class MonthlyQualityEntry:
rejected: int


@pytest.fixture
def system_user():
# Test data doesn't contain the system user, so we create them here.
return UserFactory(email="pontoon-sync@example.com")


@pytest.fixture
def pretranslation_user():
return User.objects.get(email="pontoon-tm@example.com")


@pytest.mark.django_db
def test_default_empty(
client, system_user, pretranslation_user, locale_a, project_a, user_a
Expand Down

0 comments on commit 69f4797

Please sign in to comment.