Home | History | Annotate | Download | only in test

Lines Matching refs:art_num

129         art_num, art_dict = lines[0]
130 self.assertGreaterEqual(art_num, last - 5)
131 self.assertLessEqual(art_num, last)
141 art_num, art_dict = lines[0]
145 art_num, art_dict = lines[-1]
147 self.assertGreaterEqual(art_num, start)
148 self.assertLessEqual(art_num, last)
159 def check_article_resp(self, resp, article, art_num=None):
161 if art_num is not None:
162 self.assertEqual(article.number, art_num)
172 for art_num in (last, first, last - 1):
174 resp, head = self.server.head(art_num)
184 self.check_article_resp(resp, head, art_num)
185 resp, body = self.server.body(art_num)
187 self.check_article_resp(resp, body, art_num)
188 resp, article = self.server.article(art_num)
190 self.check_article_resp(resp, article, art_num)
849 resp, art_num, message_id = self.server.stat(3000234)
851 self.assertEqual(art_num, 3000234)
853 resp, art_num, message_id = self.server.stat("<45223423@example.com>")
855 self.assertEqual(art_num, 0)
865 resp, art_num, message_id = self.server.next()
867 self.assertEqual(art_num, 3000237)
871 resp, art_num, message_id = self.server.last()
873 self.assertEqual(art_num, 3000234)
950 art_num, message_id, lines = info
951 self.assertEqual(art_num, 3000237)
957 art_num, message_id, lines = info
958 self.assertEqual(art_num, 3000234)
964 art_num, message_id, lines = info
965 self.assertEqual(art_num, 0)
978 art_num, message_id, lines = info
979 self.assertEqual(art_num, 3000237)
998 art_num, message_id, lines = info
999 self.assertEqual(art_num, 3000237)
1005 art_num, message_id, lines = info
1006 self.assertEqual(art_num, 3000234)
1012 art_num, message_id, lines = info
1013 self.assertEqual(art_num, 0)
1025 art_num, message_id, lines = info
1026 self.assertEqual(art_num, 3000237)
1045 art_num, message_id, lines = info
1046 self.assertEqual(art_num, 3000237)
1052 art_num, message_id, lines = info
1053 self.assertEqual(art_num, 3000234)
1059 art_num, message_id, lines = info
1060 self.assertEqual(art_num, 0)
1072 art_num, message_id, lines = info
1073 self.assertEqual(art_num, 3000237)
1091 art_num, over = overviews[0]
1092 self.assertEqual(art_num, 57)
1103 art_num, over = overviews[1]
1105 art_num, over = overviews[2]
1328 (art_num, fields), = overview
1329 self.assertEqual(art_num, 3000234)
1349 (art_num, fields), = overview
1360 (art_num, fields), = overview