def test_query_count(self): self.add_message() self.add_P2C() ss = MPost2Catalog.query_count() TF = False for i in ss: if i.tag_id == self.tag_id: if i.num == 1: TF = True assert TF self.tearDown()
def test_query_count(self): MPost2Catalog.query_count() assert True