def register(self, username, password, password2='', email=''):
        return self.client.post('/register', data=dict(
            username=username,
            password=password,
            password2=password2,
            email=email,
        ), follow_redirects=True)
Helper function to register a user
dataset/ETHPy150Open eugenkiss/Simblin/test/test_views.py/ViewTestCase.register