Upgrade to Django 1.8
This commit is contained in:
parent
cc0850f872
commit
20d1786727
@ -31,8 +31,25 @@ class FrontTest(TestCase):
|
||||
|
||||
class DuckCompLevelTest(TestCase):
|
||||
def setUp(self):
|
||||
duck = Duck()
|
||||
comp = Competence(name = 'testing')
|
||||
user = User.objects.create_user(username='test', password='test')
|
||||
|
||||
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(
|
||||
duck = duck,
|
||||
comp = comp,
|
||||
|
@ -1,4 +1,4 @@
|
||||
Django>=1.7,<1.8
|
||||
Django>=1.8
|
||||
WebTest==2.0.17
|
||||
django-webtest==1.7.7
|
||||
django-js-reverse==0.3.3
|
||||
|
Loading…
Reference in New Issue
Block a user