Django - Testing Django Applications
This test code raises an error when run:
from django.test import TestCase
class MyTests(TestCase):
def test_fail(self):
self.assertEqual(1, 2)
What is the reason for the error?
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions