def test_pin_generation(self): user = Customer("xyz", "savings", "xyz.com", 500000, "4357697834") atm = ATM() self.assertEqual(2000, atm.generate_pin(user))