增加及修改account与announcement的测试

This commit is contained in:
hohoTT
2015-08-20 20:24:51 +08:00
parent 10e4d534b2
commit 0fcbbc962e
5 changed files with 145 additions and 62 deletions

View File

@@ -49,7 +49,6 @@ class AnnouncementAdminAPIView(APIView):
is_global=data["is_global"])
announcement.groups.add(*groups)
return success_response(u"公告发布成功!")
else:
return serializer_invalid_response(serializer)