old_contents: # -*- coding: utf-8 -*-
  '''module for unit test and task for CI'''
  import sys
  import unittest
  
  from yatest import testpost, testpage, testutility, testconfig
  
  if __name__ == '__main__':
      all_test_suites = []
      all_test_suites.append(testpost.get_test_suites())
      all_test_suites.append(testpage.get_test_suites())
      all_test_suites.append(testutility.get_test_suites())
      all_test_suites.append(testconfig.get_test_suites())
  
      alltests = unittest.TestSuite(all_test_suites)
  
      status = not unittest.TextTestRunner(verbosity=2).run(alltests).wasSuccessful()
      sys.exit(status)
  
new_contents: # -*- coding: utf-8 -*-
  '''module for unit test and task for CI'''
  import sys
  import unittest
  
  from yatest import testpost, testpage, testutility, testconfig, testgenerator, testpostmanager
  
  if __name__ == '__main__':
      all_test_suites = []
      all_test_suites.append(testpost.get_test_suites())
      all_test_suites.append(testpage.get_test_suites())
      all_test_suites.append(testutility.get_test_suites())
      all_test_suites.append(testconfig.get_test_suites())
      all_test_suites.append(testgenerator.get_test_suites())
      all_test_suites.append(testpostmanager.get_test_suites())
  
      alltests = unittest.TestSuite(all_test_suites)
  
      status = not unittest.TextTestRunner(verbosity=2).run(alltests).wasSuccessful()
      sys.exit(status)
  
subject: Add test cases for module post_manager, refactor part of class PostManager and update TODO list.