This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
LOGIN TEST | |
Tests the following functionalities: | |
1. User can login with their valid username and password | |
2. User cannot login with a username that does not exist in the system | |
""" | |
from django.test import TestCase | |
from rest_framework import status | |
from rest_framework.test import APIClient |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def |