def testWinSplitPathspec(self):

    self.SetupWinEnvironment()

    # We need to import after SetupWinEnvironment or this will fail
    # pylint: disable=g-import-not-at-top
    from grr.client import client_utils_windows
    # pylint: enable=g-import-not-at-top

    testdata = [(r"C:\Windows", "\\\\?\\Volume{11111}", "/Windows"),
                (r"C:\\Windows\\", "\\\\?\\Volume{11111}", "/Windows"),
                (r"C:\\", "\\\\?\\Volume{11111}", "/")]

    for filename, expected_device, expected_path in testdata:
      raw_pathspec, path = client_utils_windows.WinGetRawDevice(filename)

      # Pathspec paths are always absolute and therefore must have a leading /.
      self.assertEqual(expected_device, raw_pathspec.path)
      self.assertEqual(expected_path, path)
Adjustment of the x position of the legend from its default.
dataset/ETHPy150Open google/grr/grr/client/client_utils_test.py/ClientUtilsTest.testWinSplitPathspec--crossover with--dataset/ETHPy150Open scanny/python-pptx/pptx/chart/legend.py/Legend.horz_offset