def METHOD_NAME(self, reddit):
    reddit.read_only = False
    karma = reddit.user.karma()
    assert isinstance(karma, dict)
    for subreddit in karma:
        assert isinstance(subreddit, Subreddit)
        keys = sorted(karma[subreddit].keys())
        assert ["comment_karma", "link_karma"] == keys