mirror of
https://github.com/encounter/adk-python.git
synced 2026-07-09 18:19:28 -07:00
fix: Replace the global DEFAULT_USER_PERSONA_REGISTRY with a function call to get_default_persona_registry
PiperOrigin-RevId: 871422993
This commit is contained in:
committed by
Copybara-Service
parent
e1e0d63616
commit
2703613572
@@ -12,9 +12,9 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
from google.adk.evaluation.simulation import pre_built_personas
|
||||
from google.adk.evaluation.simulation.pre_built_personas import get_default_persona_registry
|
||||
|
||||
|
||||
def test_get_default_persona_registry():
|
||||
"""Tests that the default persona registry can be loaded."""
|
||||
assert pre_built_personas.DEFAULT_USER_PERSONA_REGISTRY is not None
|
||||
assert get_default_persona_registry() is not None
|
||||
|
||||
Reference in New Issue
Block a user