Skip to content

Commit

Permalink
fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
willemarcel committed Sep 10, 2018
1 parent eddd693 commit a657ac6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion osmchadjango/changeset/tests/test_tasks.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# -*- coding: utf-8 -*-
from mock import patch
from urllib.parse import quote

from django.test import TestCase

Expand Down Expand Up @@ -114,6 +115,6 @@ class MockRequest():
mock_oauth_client.assert_called_with(
'POST',
'https://api.openstreetmap.org/api/0.6/changeset/123456/comment/',
data=b'text=Reviewed in OSMCha and set as GOOD!',
data='text={}'.format(quote('Reviewed in OSMCha and set as GOOD!')).encode('utf-8'),
json=None
)

0 comments on commit a657ac6

Please sign in to comment.