Change in vdsm[master]: tests: Add tests for un-escaping spaces

ishaby at redhat.com ishaby at redhat.com
Tue Apr 26 06:20:48 UTC 2016


Idan Shaby has posted comments on this change.

Change subject: tests: Add tests for un-escaping spaces
......................................................................


Patch Set 5: Code-Review+1

(1 comment)

https://gerrit.ovirt.org/#/c/56549/3/tests/mountTests.py
File tests/mountTests.py:

Line 202:                             b"/rhev/data-center/mnt/server:_path"))
Line 203: 
Line 204:     def test_path_with_spaces(self):
Line 205:         with fake_mounts([
Line 206:                 br"server:/a\040b /mnt/server:_a\040b nfs4 opts 0 0"
> br"/mnt/server:_a\040b" is the escaped version of b"/mnt/server:_a b" - wha
OK, thanks for the explanation.
Line 207:                 ]):
Line 208:             self.assertTrue(mount.isMounted(b"/mnt/server:_a b"))
Line 209:             self.assertFalse(mount.isMounted(br"/mnt/server:_a\040b"))
Line 210: 


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I772b7e7e48f888f9b9790cd6963d65cd86912699
Gerrit-PatchSet: 5
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Nir Soffer <nsoffer at redhat.com>
Gerrit-Reviewer: Adam Litke <alitke at redhat.com>
Gerrit-Reviewer: Ala Hino <ahino at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Freddy Rolland <frolland at redhat.com>
Gerrit-Reviewer: Idan Shaby <ishaby at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Nir Soffer <nsoffer at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>
Gerrit-HasComments: Yes


More information about the vdsm-patches mailing list