我正在使用Python 3.4.3。 <_p>中将忽略test _ ***方法中的所有docstring
class MovieQueriesTest(ApiBaseTest):
"""Tests for query operations against movies endpoint"""
def test_query_empty_result(self):
"""
Query which yields empty results must be well-formed
"""
response = self.client.get('/api/movies')
self.assert200(response, 'Empty movie response should have status 200')
未收集文档字符串Tests for query operations against movies endpoint
,但测试方法名称为test_query_empty_result
。