mirror of
https://github.com/pacnpal/django-anymail.git
synced 2025-12-20 03:41:05 -05:00
Use real Response object in DjrillBackendMockAPITestCase tests.
(Improves testing accuracy around API response encoding.) * Add `six` as test dependency (six.BytesIO, six.b) * Change MockResponse content to bytes (because HTTP responses are bytes, not strings)
This commit is contained in:
2
setup.py
2
setup.py
@@ -32,7 +32,7 @@ setup(
|
||||
install_requires=["requests>=1.0.0", "django>=1.3"],
|
||||
include_package_data=True,
|
||||
test_suite="runtests.runtests",
|
||||
tests_require=["mock"],
|
||||
tests_require=["mock", "six"],
|
||||
classifiers=[
|
||||
"Programming Language :: Python",
|
||||
"Programming Language :: Python :: Implementation :: PyPy",
|
||||
|
||||
Reference in New Issue
Block a user