From ce8ada78e4b285f51ae83ad78990b16582588a36 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Fri, 19 Jul 2013 10:56:31 +0300 Subject: Added Product.is_unlocked() --- tests/test_gsxws.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests') diff --git a/tests/test_gsxws.py b/tests/test_gsxws.py index 089d916..6982542 100644 --- a/tests/test_gsxws.py +++ b/tests/test_gsxws.py @@ -35,6 +35,10 @@ class TestActivation(TestCase): self.assertIs(type(self.data.unlocked), bool) self.assertTrue(self.data.unlocked) + from gsxws.products import Product + p = Product() + self.assertTrue(p.is_unlocked(self.data)) + class TestPartsLookup(TestCase): def setUp(self): -- cgit v1.2.3