Beispiel #1
0
    def test_get_issue_list(self):

        # this should return a valid issue list for this project ...
        obj = IL.get_issue_list(True, config.test_repo_path)
        objCached = IL.get_issue_list(True, config.test_repo_path)
        objUncached = IL.get_issue_list(False, config.test_repo_path)
        # check caching works properly
        self.assertTrue(obj == objCached)
        #check uncaching works correctly
        self.assertFalse(obj == objUncached)