pull/126/head
Niall 6 years ago
parent 69457cffdf
commit e2284fefb5
  1. 1
      .gitignore
  2. 1
      examples/starwars/tests/test_mutation.py
  3. 1
      graphene_django/tests/models.py

1
.gitignore vendored

@ -4,7 +4,6 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
.virtualenv
# C extensions
*.so

@ -75,6 +75,5 @@ def test_mutations():
}
}
result = schema.execute(query)
print(result.data)
assert not result.errors
assert result.data == expected

@ -45,7 +45,6 @@ class Article(models.Model):
], default='es')
importance = models.IntegerField('Importance', null=True, blank=True,
choices=[(1, u'Very important'), (2, u'Not as important')])
tag = models.CharField(max_length=100)
def __str__(self): # __unicode__ on Python 2
return self.headline

Loading…
Cancel
Save