def test_number_pvg(self): pvg = PropertyValueGenerator('alphanumeric', 3, False) self.assertEqual(len(pvg.getValue()), 3)
def test_number(self): pvg = PropertyValueGenerator('number', 3, False) self.assertEqual(len(pvg.getValue()), 3) self.assertTrue(isinstance(int(pvg.getValue()), int))
def test_text_pvg(self): pvg = PropertyValueGenerator('text', 3, False) self.assertEqual(len(pvg.getValue()),3)