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
from authors.apps.authentication.models import User | |
from django.test import TestCase | |
from rest_framework import status | |
class LoginTest(TestCase): | |
def setUp(self): | |
self.user = User(email = "[email protected]", username = "davie", password = "12345678") | |
self.user.save() | |
def test_login_without_password(self): |