Fix interaction with VOLT service
With Voltha 2.x we expect that onu_device value in RCord is a combiation of
ONU serial number and UNI port.
Change-Id: I082d4539400dfbb406bfce42a60293f9c1576a90
diff --git a/xos/synchronizer/models/test_models.py b/xos/synchronizer/models/test_models.py
index 16b0114..13ec5a4 100644
--- a/xos/synchronizer/models/test_models.py
+++ b/xos/synchronizer/models/test_models.py
@@ -79,6 +79,7 @@
self.rcord_subscriber.id = None # this is a new model
self.rcord_subscriber.is_new = True
self.rcord_subscriber.onu_device = "BRCM1234"
+ self.rcord_subscriber.onu_device_uni = "BRCM1234-1"
self.rcord_subscriber.c_tag = 111
self.rcord_subscriber.s_tag = 222
self.rcord_subscriber.ips = Mock()
@@ -236,7 +237,7 @@
s.c_tag = "111"
s.s_tag = "223"
s.onu_device = "BRCM1234"
-
+
self.rcord_subscriber.get_same_onu_subscribers = Mock()
self.rcord_subscriber.get_same_onu_subscribers.return_value = [s]