(self, localFile, remoteFile, forceCheck=False)
| 169 | return retVal |
| 170 | |
| 171 | def askCheckWrittenFile(self, localFile, remoteFile, forceCheck=False): |
| 172 | choice = None |
| 173 | |
| 174 | if forceCheck is not True: |
| 175 | message = "do you want confirmation that the local file '%s' " % localFile |
| 176 | message += "has been successfully written on the back-end DBMS " |
| 177 | message += "file system ('%s')? [Y/n] " % remoteFile |
| 178 | choice = readInput(message, default='Y', boolean=True) |
| 179 | |
| 180 | if forceCheck or choice: |
| 181 | return self._checkFileLength(localFile, remoteFile) |
| 182 | |
| 183 | return True |
| 184 | |
| 185 | def askCheckReadFile(self, localFile, remoteFile): |
| 186 | if not kb.bruteMode: |
no test coverage detected