Fix data source models tests

This commit is contained in:
Arik Fraimovich 2016-11-29 17:54:57 +02:00 committed by Allen Short
parent 520835dad0
commit f3d813445b

View File

@ -448,7 +448,6 @@ class DataSource(BelongsToOrgMixin, db.Model):
data_source_group = DataSourceGroup(
data_source=data_source,
group=data_source.org.default_group)
db.session.add_all([data_source, data_source_group])
return data_source