Skip to content
This repository was archived by the owner on Sep 6, 2022. It is now read-only.

Commit b3b6f45

Browse files
committed
Added a required property for tests
1 parent 3279fbd commit b3b6f45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class Comment(ndb.Model):
3232

3333

3434
class Article(ndb.Model):
35-
headline = ndb.StringProperty()
35+
headline = ndb.StringProperty(required=True)
3636
summary = ndb.StringProperty()
3737
body = ndb.TextProperty()
3838
body_hash = ndb.ComputedProperty(lambda self: self.calc_body_hash())

0 commit comments

Comments
 (0)