title: TypeError: force_login() missing 1 required positional argument: 'user'
body: <p>Test cases not able to run because of  </p>
  
  <p>TypeError: force_login() missing 1 required positional argument: 'user'</p>
  
  <p>test_admin.py</p>
  
  <pre><code>from django.test import TestCase, Client
  from django.contrib.auth import get_user_model
  from django.urls import reverse
  
  
  class AdminSiteTests(TestCase):
  
      def setUp(self):
          self.client = Client
          self.admin_user = get_user_model().objects.create_superuser(
              email='tata@nano.com',
              password = 'password1234'
          )
          self.client.force_login(self.admin_user)
          self.user = get_user_model().objects.create_user(
              email='tata@nano.com',
              password='password1234',
              name = 'Ratan jamshed tata'
          )
  
      def test_users_listed(self):
          """Test user that are listed on user page"""
          url = reverse('admin:core_user_changelist')
          res = self.client.get(url)
  
          self.assertContains(res, self.user.name)
          self.assertContains(res, self.user.email)
  </code></pre>
  
  <p>Error :</p>
  
  <pre><code>&gt;docker-compose run app sh -c "python manage.py test &amp;&amp; flake8"
  Creating test database for alias 'default'...
  System check identified no issues (0 silenced).
  E....
  ======================================================================
  ERROR: test_users_listed (core.tests.test_admin.AdminSiteTests)
  Test user that are listed on user page
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/app/core/tests/test_admin.py", line 14, in setUp
      self.client.force_login(self.admin_user)
  TypeError: force_login() missing 1 required positional argument: 'user'
  </code></pre>
  
  <p>I have imported  import authenticate, login in django.contrib.auth but still its not working.  </p>