  
      def test_regression_handle_bad_base64_basic_auth_header(self):
          """Ensure POSTing JSON over basic auth with incorrectly padded Base64 string is handled correctly"""
          # regression test for issue in 'rest_framework.authentication.BasicAuthentication.authenticate'
          # https://github.com/tomchristie/django-rest-framework/issues/4089
          auth = 'Basic =a='
          response = self.csrf_client.post(
              '/basic/',
              {'example': 'example'},
              format='json',
 
</s> remove         See: https://github.com/tomchristie/django-rest-framework/issues/1708
 </s> add         See: https://github.com/encode/django-rest-framework/issues/1708 </s> remove         cf. [#1810](https://github.com/tomchristie/django-rest-framework/pull/1810)
 </s> add         cf. [#1810](https://github.com/encode/django-rest-framework/pull/1810) </s> remove         # https://github.com/tomchristie/django-rest-framework/issues/705
 </s> add         # https://github.com/encode/django-rest-framework/issues/705 </s> remove         Regression test for https://github.com/tomchristie/django-rest-framework/pull/3164
 </s> add         Regression test for https://github.com/encode/django-rest-framework/pull/3164 </s> remove # Refs https://github.com/tomchristie/django-rest-framework/issues/3381
 </s> add # Refs https://github.com/encode/django-rest-framework/issues/3381
        # https://github.com/encode/django-rest-framework/issues/4089
  
      def test_regression_handle_bad_base64_basic_auth_header(self):
          """Ensure POSTing JSON over basic auth with incorrectly padded Base64 string is handled correctly"""
          # regression test for issue in 'rest_framework.authentication.BasicAuthentication.authenticate'
        # https://github.com/encode/django-rest-framework/issues/4089
          auth = 'Basic =a='
          response = self.csrf_client.post(
              '/basic/',
              {'example': 'example'},
              format='json',
keep keep keep keep replace keep keep keep keep keep
 Update links after moving to encode org 
tests/test_authentication.py