Updating unit tests for NBI charm
[osm/devops.git] / installers / charm / nbi / src / pod_spec.py
index 105e877..68915de 100644 (file)
@@ -28,7 +28,6 @@ from pydantic import (
     IPvAnyNetwork,
     PositiveInt,
     validator,
-    ValidationError,
 )
 from typing import Any, Dict, List, Optional
 from urllib.parse import urlparse
@@ -78,7 +77,7 @@ class RelationData(BaseModel):
 
     message_host: str
     message_port: PositiveInt
-    database_uri: constr(regex=r"^(mongo://)")
+    database_uri: constr(regex=r"^(mongodb://)")
     prometheus_host: str
     prometheus_port: PositiveInt
     keystone: bool