Upgrade to Django 1.8

This commit is contained in:
Gergely Polonkai 2015-04-11 00:06:01 +02:00
parent cc0850f872
commit 20d1786727
2 changed files with 20 additions and 3 deletions

View File

@ -31,8 +31,25 @@ class FrontTest(TestCase):
class DuckCompLevelTest(TestCase): class DuckCompLevelTest(TestCase):
def setUp(self): def setUp(self):
duck = Duck() user = User.objects.create_user(username='test', password='test')
comp = Competence(name = 'testing')
species = Species(name='test species')
species.save()
location = Location(name='test location')
location.save()
duck = Duck(
species=species,
location=location,
donated_by=user)
duck.save()
comp = Competence(
name='testing',
added_by=user)
comp.save()
self.duckcomp = DuckCompetence( self.duckcomp = DuckCompetence(
duck = duck, duck = duck,
comp = comp, comp = comp,

View File

@ -1,4 +1,4 @@
Django>=1.7,<1.8 Django>=1.8
WebTest==2.0.17 WebTest==2.0.17
django-webtest==1.7.7 django-webtest==1.7.7
django-js-reverse==0.3.3 django-js-reverse==0.3.3