def setUp(self): self.fileCache = os.path.join(os.path.dirname(__file__), 'DataCache.json') with open(self.fileCache) as jo: data = json.load(jo) DataCache().setlatestJobData(data) if PY3: self.assertItemsEqual = self.assertCountEqual
def setUp(self): self.fileCache = os.path.join(os.path.dirname(__file__), 'DataCache.json') with open(self.fileCache) as jo: data = json.load(jo) DataCache().setlatestJobData(data)