def test_get_initial(self):
        view = views.BanUnBanViewBase()
        view.kwargs = {'user_uuid': self.normal_user.uuid}
        self.assertEqual(view.get_initial()['user'], self.normal_user)
Test that the user is added to the form's initial data.
dataset/ETHPy150Open ofa/connect/open_connect/accounts/tests/test_views.py/BanUnBanViewBaseTest.test_get_initial