예제 #1
0
    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, [])
예제 #2
0
    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, [])