Beispiel #1
0
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)))
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)))
Beispiel #3
0
 def test_all_projects(self):
     self.projectpages = Project('projects')
     allprojects = self.projectpages.get_all_projects()
     self.assertTrue(bool(str(allprojects)))
Beispiel #4
0
 def test_project(self):
     project = 'labourconflicts'
     self.projectpages = Project('projects')
     projectinfo = self.projectpages.get_project_info(project)
     self.assertTrue(bool(str(projectinfo)))
Beispiel #5
0
 def test_init(self):
     self.projectpages = Project('projects')
    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')