From 4ac96d694d62c8c3d3d72bb21c60502693e1f19c Mon Sep 17 00:00:00 2001 From: Suyash Singh Date: Fri, 28 Jul 2023 11:41:22 +0530 Subject: [PATCH] Fix test cases --- care/facility/tests/test_consultation_bed_api.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/care/facility/tests/test_consultation_bed_api.py b/care/facility/tests/test_consultation_bed_api.py index 2a6c5fa000..017f756ffc 100644 --- a/care/facility/tests/test_consultation_bed_api.py +++ b/care/facility/tests/test_consultation_bed_api.py @@ -1,10 +1,9 @@ from enum import Enum from rest_framework import status -from rest_framework.test import APIRequestFactory, APITestCase +from rest_framework.test import APIRequestFactory from rest_framework_simplejwt.tokens import RefreshToken -from care.facility.tests.mixins import TestClassMixin from care.utils.tests.test_base import TestBase @@ -63,7 +62,7 @@ class ExpectedBareMinimumLocationObjectKeys(Enum): NAME = "name" -class ConsultationBedTestCase(TestBase, TestClassMixin, APITestCase): +class ConsultationBedTestCase(TestBase): def setUp(self): self.factory = APIRequestFactory() self.consultation_bed = self.create_consultation_bed()