def setUp(self):
call_command('clear_index', '--noinput', verbosity=0)
Channel.objects.create(name="Test channel", slug="test-channel")
create_sample_organizations()
self.client = APIClient()
cache.clear()
test_views.py 文件源码
python
阅读 16
收藏 0
点赞 0
评论 0
评论列表
文章目录