Change the devtableorg to an org called buynlarge.
This commit is contained in:
parent
294d4849a2
commit
52e82cfb10
7 changed files with 9 additions and 2 deletions
|
@ -20,6 +20,7 @@ SAMPLE_DIFFS = ['test/data/sample/diffs/diffs%s.json' % i
|
||||||
for i in range(1, 10)]
|
for i in range(1, 10)]
|
||||||
|
|
||||||
REFERENCE_DATE = datetime(2013, 6, 23)
|
REFERENCE_DATE = datetime(2013, 6, 23)
|
||||||
|
TEST_STRIPE_ID = 'cus_2tmnh3PkXQS8NG'
|
||||||
|
|
||||||
|
|
||||||
def __gen_checksum(image_id):
|
def __gen_checksum(image_id):
|
||||||
|
@ -177,8 +178,14 @@ def populate_database():
|
||||||
'Empty repository which is building.',
|
'Empty repository which is building.',
|
||||||
False, [], (0, [], None))
|
False, [], (0, [], None))
|
||||||
|
|
||||||
org = model.create_organization('devtableorg', 'quay@devtable.com',
|
org = model.create_organization('buynlarge', 'quay@devtable.com',
|
||||||
new_user_1)
|
new_user_1)
|
||||||
|
org.stripe_id = TEST_STRIPE_ID
|
||||||
|
org.save()
|
||||||
|
|
||||||
|
owners = model.get_organization_team('buynlarge', 'owners')
|
||||||
|
owners.description = 'Owners have unfetterd access across the entire org.'
|
||||||
|
owners.save()
|
||||||
|
|
||||||
org_repo = __generate_repository(org, 'orgrepo',
|
org_repo = __generate_repository(org, 'orgrepo',
|
||||||
'Repository owned by an org.', False,
|
'Repository owned by an org.', False,
|
||||||
|
|
Binary file not shown.
|
@ -9,7 +9,7 @@ NO_REPO = None
|
||||||
PUBLIC_REPO = 'public/publicrepo'
|
PUBLIC_REPO = 'public/publicrepo'
|
||||||
PRIVATE_REPO = 'devtable/shared'
|
PRIVATE_REPO = 'devtable/shared'
|
||||||
|
|
||||||
ORG = 'devtableorg'
|
ORG = 'buynlarge'
|
||||||
ORG_REPO = ORG + '/orgrepo'
|
ORG_REPO = ORG + '/orgrepo'
|
||||||
ORG_READERS = 'readers'
|
ORG_READERS = 'readers'
|
||||||
ORG_OWNER = 'devtable'
|
ORG_OWNER = 'devtable'
|
||||||
|
|
Reference in a new issue