def METHOD_NAME(db):
    user, token = generate_user(username="testing_user")
    with bugs_session(token) as bugs:
        def dud_post(url, auth, json):
            assert url == "https://api.github.com/repos/org/repo/issues"
            assert auth == ("user", "token")
            assert json == {
                "title": "subject",
                "body": (
                    "Subject: subject\nDescription:\ndescription\n\nResults:\nresults\n\nBackend version: "
                    + config["VERSION"]
                    + "\nFrontend version: frontend_version\nUser Agent: user_agent\nPage: page\nUser: testing_user (1)"
                ),
                "labels": ["bug tool"],
            }
            class _PostReturn:
                status_code = 201
                def json(self):
                    return {"number": 11}
            return _PostReturn()
        new_config = config.copy()
        new_config["BUG_TOOL_ENABLED"] = True
        with patch("couchers.servicers.bugs.config", new_config):
            with patch("couchers.servicers.bugs.requests.post", dud_post):
                res = bugs.ReportBug(
                    bugs_pb2.ReportBugReq(
                        subject="subject",
                        description="description",
                        results="results",
                        frontend_version="frontend_version",
                        user_agent="user_agent",
                        page="page",
                    )
                )
    assert res.bug_id == "#11"
    assert res.bug_url == "https://github.com/org/repo/issues/11"