change django.yml

This commit is contained in:
karthikmurakonda 2023-10-11 05:04:17 +05:30
parent 79b14703f4
commit 830602144c
2 changed files with 2 additions and 1 deletions

View File

@ -22,6 +22,7 @@ env:
GOOGLE_OAUTH_CLIENT_SECRET: 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 GOOGLE_OAUTH_CLIENT_SECRET: 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
refresh_token: 1//0gCf5fxAgSqNcCgYIARAAGBASNwF-L9IrIWxWwqmboeJkEzVn0sqxbaeyWXODE5s24V7pSdiAzFM2cxOUC9XT_xp7t_60o3JMfOg refresh_token: 1//0gCf5fxAgSqNcCgYIARAAGBASNwF-L9IrIWxWwqmboeJkEzVn0sqxbaeyWXODE5s24V7pSdiAzFM2cxOUC9XT_xp7t_60o3JMfOg
email_id: 200010030@iitdh.ac.in email_id: 200010030@iitdh.ac.in
s_email: 200010024@iitdh.ac.in
roll_no: 200010030 roll_no: 200010030
jobs: jobs:

View File

@ -14,7 +14,7 @@ class AdminView(APITestCase):
def setUp(self): def setUp(self):
self.client = APIClient() self.client = APIClient()
self.admin = User.objects.create(email=str(os.environ.get( self.admin = User.objects.create(email=str(os.environ.get(
"email")), id=generateRandomString(), user_type=[ADMIN]) "email_id")), id=generateRandomString(), user_type=[ADMIN])
self.s_admin = User.objects.create(email=str(os.environ.get( self.s_admin = User.objects.create(email=str(os.environ.get(
"s_email")), id=generateRandomString(), user_type=["s_admin"]) "s_email")), id=generateRandomString(), user_type=["s_admin"])
self.user1 = User.objects.create( self.user1 = User.objects.create(