def test_unlocked(self): self.assertIs(type(self.data.unlocked), bool) self.assertTrue(self.data.unlocked) p = Product(os.getenv('GSX_SN')) self.assertTrue(p.is_unlocked(self.data))
def test_unlocked(self): self.assertIs(type(self.data.unlocked), bool) self.assertTrue(self.data.unlocked) p = Product(env['GSX_SN']) self.assertTrue(p.is_unlocked(self.data))