class ConfigTestClass(unittest.TestCase): def test_init(self): self.projectpages = Project('projects') def test_project(self): project = 'labourconflicts' self.projectpages = Project('projects') projectinfo = self.projectpages.get_project_info(project) self.assertTrue(bool(str(projectinfo))) def test_all_projects(self): self.projectpages = Project('projects') allprojects = self.projectpages.get_all_projects() self.assertTrue(bool(str(allprojects)))
def test_all_projects(self): self.projectpages = Project('projects') allprojects = self.projectpages.get_all_projects() self.assertTrue(bool(str(allprojects)))
def test_project(self): project = 'labourconflicts' self.projectpages = Project('projects') projectinfo = self.projectpages.get_project_info(project) self.assertTrue(bool(str(projectinfo)))
def test_init(self): self.projectpages = Project('projects')