示例#1
0
 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
示例#2
0
 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)