Skip to content

Commit

Permalink
Add unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Canway-shiisa committed Sep 7, 2023
1 parent eff2f17 commit b267fc2
Show file tree
Hide file tree
Showing 6 changed files with 537 additions and 88 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def get_leaders(self, obj: DataSourceUser) -> List[Dict]:

class UserUpdateInputSLZ(serializers.Serializer):
full_name = serializers.CharField(help_text="姓名")
email = serializers.CharField(help_text="邮箱")
email = serializers.EmailField(help_text="邮箱")
phone_country_code = serializers.CharField(help_text="手机国际区号")
phone = serializers.CharField(help_text="手机号")
logo = serializers.CharField(help_text="用户 Logo", allow_blank=True, required=False, default="")
Expand Down
Loading

0 comments on commit b267fc2

Please sign in to comment.