

def test_login_user(self):
    self.client.post(url_for('fixtures.create_users'))
    for user in ['user', 'admin']:
        res = self.client.post(url_for('fixtures.login_user', username=self))
        self.assert_success(res)
        self.assertTrue(self.is_user_logged())

dataset/ETHPy150Open dchaplinsky/unshred-tag/tests/fixtures.py FixturesTest.test_login_user/VarMisuse@47/69 `user`->`self`