From c8a5b5308b7bbc25b503b9ff3c0ebf8fcb2250b4 Mon Sep 17 00:00:00 2001 From: Marnanel Thurman Date: Fri, 22 Sep 2023 18:18:39 +0000 Subject: [PATCH] TrilbyTestCase descends from KepiTestCase --- kepi/trilby_api/tests/__init__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/kepi/trilby_api/tests/__init__.py b/kepi/trilby_api/tests/__init__.py index ecdbf5c..c600cd9 100644 --- a/kepi/trilby_api/tests/__init__.py +++ b/kepi/trilby_api/tests/__init__.py @@ -4,7 +4,8 @@ # Copyright (c) 2018-2021 Marnanel Thurman. # Licensed under the GNU Public License v2. -from django.test import TestCase, Client +from django.test import Client +from kepi.kepi.testing import KepiTestCase from rest_framework.test import force_authenticate, APIClient from kepi.trilby_api.models import * from django.conf import settings @@ -65,7 +66,7 @@ STATUS_EXPECTED = { 'pinned': False, } -class TrilbyTestCase(TestCase): +class TrilbyTestCase(KepiTestCase): def setUp(self):