aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_gsxws.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/test_gsxws.py b/tests/test_gsxws.py
index bd2d8b0..07a7ca4 100644
--- a/tests/test_gsxws.py
+++ b/tests/test_gsxws.py
@@ -305,9 +305,12 @@ class TestRemoteWarrantyFunctions(RemoteTestCase):
def test_warranty_lookup(self):
self.assertEqual(self.wty.warrantyStatus, 'Out Of Warranty (No Coverage)')
+ def test_warranty_lookup_imei(self):
+ wty = Product(env['GSX_IMEI']).warranty()
+ self.assertEqual(wty.warrantyStatus, 'Out Of Warranty (No Coverage)')
+
def test_fmip_status(self):
- self.assertEqual(self.product.fmip_status,
- 'Find My iPhone is active. Find My iPhone must be turned off for whole unit repairs.')
+ self.assertContains(self.product.fmip_status, 'Find My iPhone is active')
def test_fmip_active(self):
self.assertTrue(self.product.fmip_is_active)