Ejemplo n.º 1
0
 def buildCmdTestFile(self, name):
     remoteDir = self.remoteForLocal(os.path.dirname(name))
     if remoteDir == self.remoteHere:
         remoteName = os.path.basename(name)
     else:
         remoteName = self.remoteJoin(remoteDir, os.path.basename(name))
     return ["-e", 'const _TEST_FILE = ["%s"];' % replaceBackSlashes(remoteName)]
Ejemplo n.º 2
0
 def buildCmdTestFile(self, name):
     remoteDir = self.remoteForLocal(os.path.dirname(name))
     if remoteDir == self.remoteHere:
         remoteName = os.path.basename(name)
     else:
         remoteName = remoteJoin(remoteDir, os.path.basename(name))
     return [
         '-e',
         'const _TEST_FILE = ["%s"];' % replaceBackSlashes(remoteName)
     ]