mirror of
https://github.com/valitydev/redash.git
synced 2024-11-07 01:25:16 +00:00
Change Dashboard factory to generate non drafts
This commit is contained in:
parent
d59299b85a
commit
8680ebe96f
@ -57,7 +57,11 @@ data_source_factory = ModelFactory(redash.models.DataSource,
|
||||
org_id=1)
|
||||
|
||||
dashboard_factory = ModelFactory(redash.models.Dashboard,
|
||||
name='test', user=user_factory.create, layout='[]', org=1)
|
||||
name='test',
|
||||
user=user_factory.create,
|
||||
layout='[]',
|
||||
is_draft=False,
|
||||
org=1)
|
||||
|
||||
api_key_factory = ModelFactory(redash.models.ApiKey,
|
||||
object=dashboard_factory.create)
|
||||
|
Loading…
Reference in New Issue
Block a user