def login(self, username, password):
        return self.client.post('/login', data=dict(
            username=username,
            password=password
        ), follow_redirects=True)
Lets user view their profile details.
dataset/ETHPy150Open eugenkiss/Simblin/test/test_views.py/ViewTestCase.login--crossover with--dataset/ETHPy150Open openlearningtools/opencompetencies/users/tests.py/UserViewTests.test_profile_view