Skip to content

Commit

Permalink
fixed formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrewakiv committed Oct 11, 2024
1 parent ed497be commit cfc3d2b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion BackEnd/authentication/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class Meta(UserSerializer.Meta):
"surname",
"profile_id",
"is_staff",
"is_superuser"
"is_superuser",
)


Expand Down
1 change: 1 addition & 0 deletions BackEnd/authentication/tests/test_user_autologout.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ def test_user_autologout_after_10_days(self):
"surname": "Test",
"profile_id": AnyInt(),
"is_staff": False,
"is_superuser": False,
},
response.json(),
)
4 changes: 4 additions & 0 deletions BackEnd/authentication/tests/test_user_self.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ def test_user_retreive_data_successful(self):
"surname": "Test",
"profile_id": AnyInt(),
"is_staff": False,
"is_superuser": False,
},
response.json(),
)
Expand All @@ -54,6 +55,7 @@ def test_user_update_all_fields_successful(self):
"surname": "Ivanenko",
"profile_id": AnyInt(),
"is_staff": False,
"is_superuser": False,
},
)
self.assertEqual(response.status_code, status.HTTP_200_OK)
Expand All @@ -65,6 +67,7 @@ def test_user_update_all_fields_successful(self):
"surname": "Ivanenko",
"profile_id": AnyInt(),
"is_staff": False,
"is_superuser": False,
},
response.json(),
)
Expand All @@ -86,6 +89,7 @@ def test_user_update_one_field_successful(self):
"surname": "Petrenko",
"profile_id": AnyInt(),
"is_staff": False,
"is_superuser": False,
},
response.json(),
)
Expand Down

0 comments on commit cfc3d2b

Please sign in to comment.