From db70ef97c84f37d214f7efd632d9156971c4fffb Mon Sep 17 00:00:00 2001 From: Aristotelis Mikropoulos Date: Thu, 15 Oct 2020 22:46:18 +0300 Subject: [PATCH] Fix indentation in test --- tests/test_relations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_relations.py b/tests/test_relations.py index 92fa4ce6d..bb719a65a 100644 --- a/tests/test_relations.py +++ b/tests/test_relations.py @@ -107,7 +107,7 @@ class TestPrimaryKeyRelatedField(APISimpleTestCase): msg = excinfo.value.detail[0] assert msg == 'Incorrect type. Expected pk value, received BadType.' - def test_pk_related_lookup_bool(self): + def test_pk_related_lookup_bool(self): with pytest.raises(serializers.ValidationError) as excinfo: self.field.to_internal_value(True) msg = excinfo.value.detail[0]