Change in vdsm[master]: tests: bootstrap socket-related tests

fromani at redhat.com fromani at redhat.com
Wed Jun 3 07:20:47 UTC 2015


Francesco Romani has uploaded a new change for review.

Change subject: tests: bootstrap socket-related tests
......................................................................

tests: bootstrap socket-related tests

Add very first bits of socket handling tests.

Change-Id: I68e3a3163271e9632fce630ac5aa799a644c70e1
Signed-off-by: Francesco Romani <fromani at redhat.com>
---
M tests/vmTests.py
1 file changed, 6 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/65/41865/1

diff --git a/tests/vmTests.py b/tests/vmTests.py
index f49e164..36522a0 100644
--- a/tests/vmTests.py
+++ b/tests/vmTests.py
@@ -941,6 +941,12 @@
 
             self.assertEqual(machine.sdIds, set([domainID]))
 
+    def testVmGuestSocketFile(self):
+        with fake.VM(self.conf) as testvm:
+            self.assertEqual(
+                testvm._guestSocketFile,
+                testvm._makeChannelPath(vm._VMCHANNEL_DEVICE_NAME))
+
 
 @expandPermutations
 class TestVmOperations(TestCaseBase):


-- 
To view, visit https://gerrit.ovirt.org/41865
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I68e3a3163271e9632fce630ac5aa799a644c70e1
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Francesco Romani <fromani at redhat.com>


More information about the vdsm-patches mailing list