fixed errors
This commit is contained in:
parent
59b88201d3
commit
7615713213
|
@ -21,7 +21,7 @@ env:
|
|||
SECRET_KEY: 9%2e!&f6(ib^690y48z)&w6fczhwukzzp@3y*^*7u+7%4s-mie
|
||||
GOOGLE_OAUTH_CLIENT_SECRET: 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
|
||||
REFRESH_TOKEN: 1//0gCf5fxAgSqNcCgYIARAAGBASNwF-L9IrIWxWwqmboeJkEzVn0sqxbaeyWXODE5s24V7pSdiAzFM2cxOUC9XT_xp7t_60o3JMfOg
|
||||
EMAIL: 200010030@iitdh.ac.in
|
||||
EMAIL_ID: 200010030@iitdh.ac.in
|
||||
ROLL_NO: 200010030
|
||||
|
||||
jobs:
|
||||
|
|
|
@ -14,7 +14,7 @@ class AdminView(APITestCase):
|
|||
def setUp(self):
|
||||
self.client = APIClient()
|
||||
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(
|
||||
email="200010032@iitdh.ac.in", id="200010032", user_type=[STUDENT])
|
||||
self.user2 = User.objects.create(
|
||||
|
|
|
@ -15,7 +15,7 @@ class StudentViewsTestCase(APITestCase):
|
|||
def setUp(self):
|
||||
self.client = APIClient()
|
||||
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")),
|
||||
user_type=[STUDENT])
|
||||
self.assertEqual(
|
||||
|
|
Loading…
Reference in New Issue