Skip to content

Fixing Django 2.0 and TestClass tests errors #10

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

Merged
merged 1 commit into from
Dec 4, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions tests/ext/aiohttp/test_aiohttp.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ class CustomStubbedEmitter(UDPEmitter):
"""
Custom stubbed emitter which stores all segments instead of the last one
"""

def __init__(self, daemon_address='127.0.0.1:2000'):
super(CustomStubbedEmitter, self).__init__(daemon_address)
self.local = []
Expand All @@ -37,6 +38,8 @@ class TestServer(object):
"""
Simple class to hold a copy of the event loop
"""
__test__ = False

def __init__(self, loop):
self._loop = loop

Expand Down
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist =
envlist =
py{27,34,35,36}
coverage-report

Expand All @@ -12,8 +12,8 @@ deps =
botocore
requests
flask >= 0.10
# the sdk dosen't support earlier version of django
django >= 1.10
# the sdk doesn't support earlier version of django
django >= 1.10, <2.0
# Python3.5+ only deps
py{35,36}: aiohttp >= 2.3.0
py{35,36}: pytest-aiohttp
Expand Down