Add robots to the entity search.
This commit is contained in:
parent
026ed7ffb4
commit
b407c1d9fb
8 changed files with 51 additions and 30 deletions
|
@ -132,6 +132,8 @@ def populate_database():
|
|||
new_user_1.verified = True
|
||||
new_user_1.save()
|
||||
|
||||
model.create_robot('dtrobot', new_user_1)
|
||||
|
||||
new_user_2 = model.create_user('public', 'password',
|
||||
'jacob.moshenko@gmail.com')
|
||||
new_user_2.verified = True
|
||||
|
@ -188,6 +190,8 @@ def populate_database():
|
|||
org.stripe_id = TEST_STRIPE_ID
|
||||
org.save()
|
||||
|
||||
model.create_robot('neworgrobot', org)
|
||||
|
||||
owners = model.get_organization_team('buynlarge', 'owners')
|
||||
owners.description = 'Owners have unfetterd access across the entire org.'
|
||||
owners.save()
|
||||
|
|
Reference in a new issue