def test_suggestion_when_phone_entered(self): phone = Telephone(user=self.user) phone.use_code = 'mobile' phone.save() # Get the actual results actual = Telephone.get_suggestion(self.user) self.assertEqual(actual, [])