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)]
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) ]