aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorFilipp Lepalaan <f@230.to>2013-07-19 10:56:31 +0300
committerFilipp Lepalaan <f@230.to>2013-07-19 10:56:31 +0300
commitce8ada78e4b285f51ae83ad78990b16582588a36 (patch)
tree00bdd3126aaf3a7ad5b65e4653ea93f1bafee5d2 /tests
parent151b3893395bae90f5795b50e27812d30403b91e (diff)
downloadpy-gsxws-ce8ada78e4b285f51ae83ad78990b16582588a36.tar.gz
py-gsxws-ce8ada78e4b285f51ae83ad78990b16582588a36.tar.bz2
py-gsxws-ce8ada78e4b285f51ae83ad78990b16582588a36.zip
Added Product.is_unlocked()
Diffstat (limited to 'tests')
-rw-r--r--tests/test_gsxws.py4
1 files changed, 4 insertions, 0 deletions
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):