international_address_formatter icon indicating copy to clipboard operation
international_address_formatter copied to clipboard

Failing test_germany.py

Open kimryan opened this issue 3 years ago • 3 comments

I get the following errors when running the test program. It seems to be putting in an blank value for the state. I changed back to the previous version of /data/wordwide.yml and the test passed. So suggest something in the latest YAML file I pushed isn't being processed correctly.

====================================================================== FAIL: test_street (main.TestAddressFormatterGermany)

Traceback (most recent call last): File "C:\Scripting\test\international_address_formatter\test_germany.py", line 8, in test_street self.assertEqual( AssertionError: 'Bahnhofstr. 10, 86150 Augsburg, Germany' != 'Bahnhofstr. 10, 86150 Augsburg, , Germany'

  • Bahnhofstr. 10, 86150 Augsburg, Germany
  • Bahnhofstr. 10, 86150 Augsburg, , Germany ?

kimryan avatar Mar 26 '21 02:03 kimryan

@dunkelstern , have you been able to take a look at this bug? I looked through the code but could not follow it to clearly.

Regards, Kim

kimryan avatar May 01 '21 07:05 kimryan

Sorry I didn't see the issue until now, looking into it on the weekend. Thanks for reporting!

dunkelstern avatar Jun 03 '21 23:06 dunkelstern

@dunkelstern , I think the 3 pull requests should fix this. Can you approve them? Have been waiting 4 months so far.

kimryan avatar Jul 26 '21 10:07 kimryan