def test_making_a_lookup_key(self): self.assertEqual( make_address_lookup_key({ "address1": u"400 Poydras St.", "address2": u"Suite 1200", "city": u"New Orleans", "name": u"Duncan and Sevin, LLC", "state": u"LA", "zip_code": u"70130", }), "400poydrasstsuite1200neworleansduncansevinllcla70130", ) self.assertEqual( make_address_lookup_key( {"name": "Offices of Lissner AND Strook & Levin, LLP"}), "officeoflissnerstrooklevin", )
def test_making_a_lookup_key(self): self.assertEqual( make_address_lookup_key({ 'address1': u'400 Poydras St.', 'address2': u'Suite 1200', 'city': u'New Orleans', 'name': u'Duncan and Sevin, LLC', 'state': u'LA', 'zip_code': u'70130', }), '400poydrasstsuite1200neworleansduncansevinllcla70130', ) self.assertEqual( make_address_lookup_key({ 'name': 'Offices of Lissner AND Strook & Levin, LLP', }), 'officeoflissnerstrooklevin', )
def test_making_a_lookup_key(self): self.assertEqual( make_address_lookup_key({ 'address1': u'400 Poydras St.', 'address2': u'Suite 1200', 'city': u'New Orleans', 'name': u'Duncan and Sevin, LLC', 'state': u'LA', 'zip_code': u'70130', }), '400poydrasstsuite1200neworleansduncansevinllcla70130', ) self.assertEqual( make_address_lookup_key({ 'name': 'Offices of Lissner AND Strook & Levin, LLP', }), 'officeoflissnerstrooklevin', )