예제 #1
0
 def test_component_check_with_parts(self):
     l = lookups.Lookup(serialNumber=env['GSX_SN'])
     l.repairStrategy = "CA"
     l.shipTo = env['GSX_SHIPTO']
     part = ServicePart('661-5502')
     part.symptomCode = 'H06'
     r = l.component_check([part])
     self.assertFalse(r.eligibility)
예제 #2
0
 def test_component_check_with_parts(self):
     l = lookups.Lookup(serialNumber=os.getenv('GSX_SN'))
     l.repairStrategy = "CA"
     l.shipTo = os.getenv('GSX_SHIPTO')
     r = l.component_check([self.part])
     self.assertIsInstance(r.eligibility, bool)
예제 #3
0
 def test_component_check(self):
     l = lookups.Lookup(serialNumber=env['GSX_SN'])
     l.repairStrategy = "CA"
     l.shipTo = env['GSX_SHIPTO']
     r = l.component_check()
     self.assertFalse(r.eligibility)
예제 #4
0
 def test_component_check(self):
     l = lookups.Lookup(serialNumber=os.getenv('GSX_SN'))
     l.repairStrategy = "CA"
     l.shipTo = os.getenv('GSX_SHIPTO', os.getenv('GSX_SOLDTO'))
     r = l.component_check()
     self.assertFalse(r.eligibility)