          This is a non regression test against #1461
          """
          factory = APIRequestFactory()
          request = factory.get('/view/?demo=test')
          self.assertEqual(dict(request.GET), {'demo': ['test']})
          request = factory.get('/view/', {'demo': 'test'})
          self.assertEqual(dict(request.GET), {'demo': ['test']})
  
      def test_request_factory_url_arguments_with_unicode(self):
          factory = APIRequestFactory()
 
</s> remove         self.assertEqual(response.data['user'], 'example')
 </s> add         assert response.data['user'] == 'example' </s> remove         self.assertEqual(response.status_code, 200)
 </s> add         assert response.status_code == 200 </s> remove         self.assertEqual(response.status_code, 403)
        self.assertEqual(response.data, expected)
 </s> add         assert response.status_code == 403
        assert response.data == expected </s> remove         self.assertEqual(response.data['active_session'], False)
 </s> add         assert response.data['active_session'] is False </s> remove         self.assertEqual(response.status_code, 200)
 </s> add         assert response.status_code == 200
        assert dict(request.GET) == {'demo': ['test']}
          This is a non regression test against #1461
          """
          factory = APIRequestFactory()
          request = factory.get('/view/?demo=test')
        assert dict(request.GET) == {'demo': ['test']}
          request = factory.get('/view/', {'demo': 'test'})
          self.assertEqual(dict(request.GET), {'demo': ['test']})
  
      def test_request_factory_url_arguments_with_unicode(self):
          factory = APIRequestFactory()
keep keep keep keep replace keep keep keep keep keep
 converted testing test asserts to pytest (#4949)

* converted testing test asserts to pytest

* moved 3rd arg from test_empty_post_uses_default_boolean_value test assert 
tests/test_testing.py