Exemplo n.º 1
0
 def setUp(self):
     """Call all the functions here, and test elements seperately."""
     self.r = pr.get_response()
     self.repo_dicts = pr.get_repo_dicts(self.r)
     self.repo_dict = self.repo_dicts[0]
     self.names, self.plot_dicts = pr.get_names_plot_dicts(self.repo_dicts)
Exemplo n.º 2
0
 def setUp(self):
     """调用所有的函数,并分别测试各个方面。"""
     self.r = pr.get_response()
     self.repo_dicts = pr.get_repo_dicts(self.r)
     self.repo_dict = self.repo_dicts[0]
     self.names, self.plot_dicts = pr.get_names_plot_dicts(self.repo_dicts)