Skip to content
This repository has been archived by the owner on Dec 19, 2019. It is now read-only.

Commit

Permalink
Fixed assert to work with Django >2.0 in tests.py line 289
Browse files Browse the repository at this point in the history
Excluded Python 3.4 from tests with Django >2.0
Updated requirements.txt to require Python > 3.3
  • Loading branch information
RaddishIoW committed Apr 26, 2019
1 parent a834876 commit 1478090
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ script:

matrix:
exclude:
- python: "3.4"
env: DJANGO_VERSION='>=2.1,<2.2'
- python: "3.4"
env: DJANGO_VERSION='>=2.2,<3.0'

# Report to coveralls
after_success:
Expand Down
2 changes: 1 addition & 1 deletion django2_propeller/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ def test_field_addons(self):
form = TestForm()
res = self.render_form(form)
self.assertIn('<div class="input-group"><span class="input-group-addon">before</span><input', res)
self.assertIn('/><span class="input-group-addon">after</span></div>', res)
self.assertIn('<span class="input-group-addon">after</span></div>', res)

def test_exclude(self):
form = TestForm()
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Django>=2.0
Sphinx==1.5.5
sphinx-rtd-theme==0.2.4
enum34==1.1.6; python_version < '3.4'
enum34==1.1.6; python_version > '3.3'

0 comments on commit 1478090

Please sign in to comment.