Skip to content

Commit 9f5fcce

Browse files
authored
Merge pull request #83 from GetStream/fix/3.7-tests
fix 3.7 tests
2 parents 45e33db + 3815232 commit 9f5fcce

4 files changed

Lines changed: 17 additions & 17 deletions

File tree

.travis.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,25 +13,25 @@ env:
1313
- DJANGO="django>=1.9.3,<1.10.0"
1414
- DJANGO="django>=1.8.10,<1.9.0"
1515
matrix:
16-
# include:
17-
# - python: 3.7
18-
# dist: xenial
19-
# sudo: true
16+
include:
17+
- python: 3.7
18+
dist: xenial
19+
sudo: true
2020
exclude:
2121
- python: 2.7
2222
env: DJANGO="django>=2.0.0,<2.1.0"
2323
- python: 2.7
2424
env: DJANGO="django>=2.1.0,<2.2.0"
2525
- python: 3.4
2626
env: DJANGO="django>=2.1.0,<2.2.0"
27-
# - python: 3.7
28-
# env: DJANGO="django>=1.11.0,<1.12.0"
29-
# - python: 3.7
30-
# env: DJANGO="django>=1.10.2,<1.11.0"
31-
# - python: 3.7
32-
# env: DJANGO="django>=1.9.3,<1.10.0"
33-
# - python: 3.7
34-
# env: DJANGO="django>=1.8.10,<1.9.0"
27+
- python: 3.7
28+
env: DJANGO="django>=1.11.0,<1.12.0"
29+
- python: 3.7
30+
env: DJANGO="django>=1.10.2,<1.11.0"
31+
- python: 3.7
32+
env: DJANGO="django>=1.9.3,<1.10.0"
33+
- python: 3.7
34+
env: DJANGO="django>=1.8.10,<1.9.0"
3535

3636
install:
3737
- travis_retry pip install pep8==1.7.0

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
README = readme.read()
88

99
if sys.version_info < (3, 0, 0):
10-
django = 'django>=1.5,<2.0'
10+
django = 'django>=1.8.10,<2.0'
1111
else:
12-
django = 'django>=1.5,<2.2'
12+
django = 'django>=1.8.10,<2.2'
1313

1414
requirements = [
1515
django,
@@ -18,7 +18,7 @@
1818
]
1919

2020
extras_require = {
21-
'test': ['httpretty==0.9.4', 'coverage'],
21+
'test': ['httpretty==0.9.5', 'coverage'],
2222
}
2323

2424
setup(

stream_django/tests/test_app/tests/test_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import unittest
66

77

8-
api_url = re.compile(r'stream-io-api.com/api/*.')
8+
api_url = re.compile(r'(us-east-api.)?stream-io-api.com(/api)?/*.')
99

1010

1111
class ManagerTestCase(unittest.TestCase):

stream_django/tests/test_app/tests/test_model_integration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from stream_django.feed_manager import feed_manager
88

99

10-
api_url = re.compile(r'stream-io-api.com/api/*.')
10+
api_url = re.compile(r'(us-east-api.)?stream-io-api.com(/api)?/*.')
1111

1212

1313
class PinTest(TestCase):

0 commit comments

Comments
 (0)