Delete Admin read-only (comment out, just in case)

This commit is contained in:
CocoByte 2024-09-24 18:27:30 -06:00
parent 21b7cbab43
commit a8b26e3de3
No known key found for this signature in database
GPG key ID: BBFAA2526384C97F
4 changed files with 15 additions and 15 deletions

View file

@ -357,9 +357,9 @@ class ExportDataTest(MockDbForIndividualTests, MockEppLib):
self.assertNotIn(self.domain_2.name, csv_content)
# Test the output for readonly admin
portfolio_permission.roles = [UserPortfolioRoleChoices.ORGANIZATION_ADMIN_READ_ONLY]
portfolio_permission.save()
portfolio_permission.refresh_from_db()
# portfolio_permission.roles = [UserPortfolioRoleChoices.ORGANIZATION_ADMIN_READ_ONLY]
# portfolio_permission.save()
# portfolio_permission.refresh_from_db()
# Get the csv content
csv_content = self._run_domain_data_type_user_export(request)