예제 #1
0
 def testGetShakeMapInput(self):
     """Check that we can retrieve a shakemap 'inp' input file"""
     myShakeEvent = '20110413170148'
     myShakeData = ShakeData(myShakeEvent)
     myShakemapFile = myShakeData.fetchInput()
     myExpectedFile = os.path.join(shakemapZipDir(),
                                   myShakeEvent + '.inp.zip')
     myMessage = 'Expected path for downloaded shakemap INP not received'
     self.assertEqual(myShakemapFile, myExpectedFile, myMessage)
예제 #2
0
 def testGetShakeMapInput(self):
     """Check that we can retrieve a shakemap 'inp' input file"""
     myShakeEvent = '20110413170148'
     myShakeData = ShakeData(myShakeEvent)
     myShakemapFile = myShakeData.fetchInput()
     myExpectedFile = os.path.join(shakemapZipDir(),
                                   myShakeEvent + '.inp.zip')
     myMessage = 'Expected path for downloaded shakemap INP not received'
     self.assertEqual(myShakemapFile, myExpectedFile, myMessage)