Exemple #1
0
 def test_make_value_from_datastore_none(self):
     self.assertIsNone(
         appengine.FlowProperty().make_value_from_datastore(None))
Exemple #2
0
 def test_validate(self):
     appengine.FlowProperty().validate(None)
     with self.assertRaises(db.BadValueError):
         appengine.FlowProperty().validate(42)
Exemple #3
0
class TestFlowModel(db.Model):
    flow = appengine.FlowProperty()