From 92eed28cc1cf3c741e7bcd10717bbd7162dc8e22 Mon Sep 17 00:00:00 2001 From: SKairinos Date: Wed, 18 Sep 2024 13:44:09 +0000 Subject: [PATCH] fix type --- codeforlife/user/serializers/user_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/codeforlife/user/serializers/user_test.py b/codeforlife/user/serializers/user_test.py index fe41d48..c6d1407 100644 --- a/codeforlife/user/serializers/user_test.py +++ b/codeforlife/user/serializers/user_test.py @@ -31,7 +31,7 @@ def test_to_representation__teacher(self): "student": None, }, # TODO: remove in new schema. - non_model_fields=["requesting_to_join_class", "teacher", "student"], + non_model_fields={"requesting_to_join_class", "teacher", "student"}, ) def test_to_representation__student(self): @@ -51,7 +51,7 @@ def test_to_representation__student(self): }, }, # TODO: remove in new schema. - non_model_fields=["requesting_to_join_class", "teacher", "student"], + non_model_fields={"requesting_to_join_class", "teacher", "student"}, ) def test_to_representation__indy(self):