fixed errors

This commit is contained in:
karthikmurakonda 2023-10-19 04:29:52 +05:30
parent 59b88201d3
commit 7615713213
3 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@ env:
SECRET_KEY: 9%2e!&f6(ib^690y48z)&w6fczhwukzzp@3y*^*7u+7%4s-mie SECRET_KEY: 9%2e!&f6(ib^690y48z)&w6fczhwukzzp@3y*^*7u+7%4s-mie
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: 200010030@iitdh.ac.in EMAIL_ID: 200010030@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.user1 = User.objects.create( self.user1 = User.objects.create(
email="200010032@iitdh.ac.in", id="200010032", user_type=[STUDENT]) email="200010032@iitdh.ac.in", id="200010032", user_type=[STUDENT])
self.user2 = User.objects.create( self.user2 = User.objects.create(

View File

@ -15,7 +15,7 @@ class StudentViewsTestCase(APITestCase):
def setUp(self): def setUp(self):
self.client = APIClient() self.client = APIClient()
self.user = User.objects.create( self.user = User.objects.create(
email=str(os.environ.get("EMAIL")), email=str(os.environ.get("EMAIL_ID")),
id=str(os.environ.get("ROLL_NO")), id=str(os.environ.get("ROLL_NO")),
user_type=[STUDENT]) user_type=[STUDENT])
self.assertEqual( self.assertEqual(