Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Country does not match between sample_donation.json and test_actblue.py #8

Open
mzetkulic opened this issue Aug 24, 2019 · 0 comments

Comments

@mzetkulic
Copy link

Commit hash at time of bug:
01d83cd010c11c1fd65733565eb0e56bbfd3db10
Writing steps to reproduce would give away challenge.

Results from test_mobile_commons_profile_upload:

    def check_mobile_commons_request_body(request):
        body = json.loads(request.body)
        expected = {
            "phone_number": "15105016227",
            "email": "[email protected]",
            "postal_code": "94801",
            "first_name": "Mary",
            "last_name": "Smith",
            "street1": "20 Belvedere Ave.",
            "city": "Richmond",
            "state": "CA",
            "country": "US",
            "opt_in_path_id": "279022",
        }
        for k, v in expected.items():
>           assert body[k] == v
E           AssertionError: assert 'United States' == 'US'
E             - United States
E             + US
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant