def METHOD_NAME(self):
    self.assertEqual(valid.positiveint('1'), 1)
    with self.assertRaises(ValueError):
        valid.positiveint('-1')
    with self.assertRaises(ValueError):
        valid.positiveint('1.1')
    with self.assertRaises(ValueError):
        valid.positiveint('1.0')