def test_status(self): for s in ['Active', 'Inactive']: status(s) for s in ['active', 'idle']: with self.assertRaises(ValueError): status(s)
def test_status(self): for s in ["Active", "Inactive"]: status(s) for s in ["active", "idle"]: with self.assertRaises(ValueError): status(s)