[CORD-3166] Enable ONUs in VOLTHA
Change-Id: I61deed5b5582a25e8c627a813683a0cec6e95cf5
diff --git a/xos/synchronizer/steps/test_sync_onu_device.py b/xos/synchronizer/steps/test_sync_onu_device.py
index 85a4021..3cf1062 100644
--- a/xos/synchronizer/steps/test_sync_onu_device.py
+++ b/xos/synchronizer/steps/test_sync_onu_device.py
@@ -87,10 +87,12 @@
sys.path = self.sys_path_save
@requests_mock.Mocker()
- def test_do_nothing(self, m):
+ def test_enable(self, m):
+ m.post("http://voltha_url:1234/api/v1/devices/test_id/enable")
+
self.o.admin_state = "ENABLED"
self.sync_step().sync_record(self.o)
- self.assertFalse(m.called)
+ self.assertTrue(m.called)
@requests_mock.Mocker()
def test_disable(self, m):