def METHOD_NAME(environment):
    event = make_event()
    event["environment"] = environment
    event["tags"] = {"environment": "production"}
    manager = EventManager(event)
    manager.normalize()
    data = manager.get_data()
    assert "environment" not in dict(data.get("tags") or ())
    assert data["environment"] == "production"