def setUp(self): self.feature_1 = models.Feature( name='feature one', summary='sum', category=1, visibility=1, standardization=1, web_dev_views=1, impl_status_chrome=1, created_by=users.User('*****@*****.**'), updated_by=users.User('*****@*****.**')) self.feature_1.put() self.component_1 = models.BlinkComponent(name='Blink') self.component_1.put() self.owner_1 = models.FeatureOwner( name='owner_1', email='*****@*****.**', primary_blink_components=[self.component_1.key()]) self.owner_1.put() self.watcher_1 = models.FeatureOwner( name='watcher_1', email='*****@*****.**', watching_all_features=True) self.watcher_1.put()
def setUp(self): self.feature_1 = models.Feature( name='feature one', summary='sum', category=1, visibility=1, standardization=1, web_dev_views=1, impl_status_chrome=1, created_by=users.User('*****@*****.**'), updated_by=users.User('*****@*****.**'), blink_components=['Blink']) self.feature_1.put() self.component_1 = models.BlinkComponent(name='Blink') self.component_1.put() self.owner_1 = models.FeatureOwner( name='owner_1', email='*****@*****.**', primary_blink_components=[self.component_1.key()]) self.owner_1.put() self.watcher_1 = models.FeatureOwner(name='watcher_1', email='*****@*****.**', watching_all_features=True) self.watcher_1.put() self.changes = [ dict(prop_name='test_prop', new_val='test new value', old_val='test old value') ] self.feature_2 = models.Feature( name='feature two', summary='sum', category=1, visibility=1, standardization=1, web_dev_views=1, impl_status_chrome=1, created_by=users.User('*****@*****.**'), updated_by=users.User('*****@*****.**'), blink_components=['Blink']) self.feature_2.put()