Skip to content

Commit

Permalink
fix(config):测试用户权限问题
Browse files Browse the repository at this point in the history
  • Loading branch information
zenkimax committed Feb 25, 2020
1 parent 35883e4 commit e23535d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/tests/test_normal_user_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def app_black_list(self):
'''
黑名单:部门一成员13899990006为黑名单人员,不可见应用十
'''
user = User.objects.filter(username='13899990006')
user = User.objects.filter(username='13899990006').first()
client = self.login_as(user)
res = client.get(reverse('siteapi:ucenter_app_list'))
self.assertEqual(res.json()['count'], 0)
Expand Down

0 comments on commit e23535d

Please sign in to comment.