def test_new(self, get_deki_user_by_email): testaccount_fixture = open(fixture_file) user_info = DekiUser.parse_user_info(testaccount_fixture.read()) get_deki_user_by_email.return_value = user_info test(self)
def test_new(self, get_deki_user): testaccount_fixture = open(fixture_file) user_info = DekiUser.parse_user_info(testaccount_fixture.read()) get_deki_user.return_value = user_info test(self)
def test_new(self, put_mindtouch_user): testaccount_fixture = open(TESTACCOUNT_FIXTURE_XML) user_info = DekiUser.parse_user_info(testaccount_fixture.read()) put_mindtouch_user.return_value = user_info test(self)