Skip to content

Commit 0fa7f5c

Browse files
committed
Improved tests
1 parent f4cfd7d commit 0fa7f5c

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

graphene/contrib/django/tests/models.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ class Reporter(models.Model):
1616
def __str__(self): # __unicode__ on Python 2
1717
return "%s %s" % (self.first_name, self.last_name)
1818

19-
class Meta:
20-
app_label = 'contrib_django'
21-
2219

2320
class Article(models.Model):
2421
headline = models.CharField(max_length=100)
@@ -30,4 +27,3 @@ def __str__(self): # __unicode__ on Python 2
3027

3128
class Meta:
3229
ordering = ('headline',)
33-
app_label = 'contrib_django'

tests/django_settings.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
SECRET_KEY = 1
22

33
INSTALLED_APPS = [
4+
'graphene.contrib.django.tests',
45
'examples.starwars_django',
56
]
67

0 commit comments

Comments
 (0)