From 69f479767b15a206a041e66a34dba042d545d350 Mon Sep 17 00:00:00 2001 From: potat0 <991971+potat0@users.noreply.github.com> Date: Sat, 3 Feb 2024 10:52:27 -0800 Subject: [PATCH] Actually remove system and pretranslation user fixtures from pontoon.insights tests --- pontoon/insights/tests/test_views.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/pontoon/insights/tests/test_views.py b/pontoon/insights/tests/test_views.py index b709777750..73393a2e5b 100644 --- a/pontoon/insights/tests/test_views.py +++ b/pontoon/insights/tests/test_views.py @@ -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, ) @@ -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