Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/d/j/django-oscar-HEAD/tests/integration/order/model_tests.py   django-oscar(Download)
    def test_titleless_salutation_is_stripped(self):
        country = Country.objects.get(iso_3166_1_a2='GB')
        a = ShippingAddress.objects.create(
            last_name='Barrington', line1="75 Smith Road", postcode="N4 8TY", country=country)
        self.assertEqual("Barrington", a.salutation)