Skip to content

Commit

Permalink
Update test data for better CDSA audit examples
Browse files Browse the repository at this point in the history
  • Loading branch information
amstilp committed Jun 21, 2024
1 parent 8a06af4 commit 4b2468c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions add_cdsa_example_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@


# Add some users to the CDSA groups.
users = UserFactory.create_batch(10)
users = UserFactory.create_batch(12)
cdsa_1001.signed_agreement.accessors.add(users[0])
GroupAccountMembershipFactory.create(
group=cdsa_1001.signed_agreement.anvil_access_group,
Expand Down Expand Up @@ -201,8 +201,10 @@
group=cdsa_1006.signed_agreement.anvil_access_group,
account__user=users[9],
)
# Add an uploader.
cdsa_1006.uploaders.add(UserFactory.create())
# Add uploaders.
cdsa_1006.uploaders.add(users[10])
AccountFactory.create(user=users[10])
cdsa_1006.uploaders.add(users[11])

cdsa_workspace_1 = factories.CDSAWorkspaceFactory.create(
workspace__billing_project__name="demo-primed-cdsa",
Expand Down

0 comments on commit 4b2468c

Please sign in to comment.