(self)
| 156 | |
| 157 | # local to remote |
| 158 | def test_cp_L2R(self): |
| 159 | localfile = "./../TestFiles/test.txt" |
| 160 | testfile = open(localfile, "w") |
| 161 | testfile.write("some text") |
| 162 | testfile.close() |
| 163 | |
| 164 | src = [localfile] |
| 165 | dest = "data://.my/moredata/test.txt" |
| 166 | CLI().cp(src, dest, self.client) |
| 167 | |
| 168 | result = CLI().ls("data://.my/moredata/", self.client) |
| 169 | self.assertTrue("test.txt" in result) |
| 170 | |
| 171 | # remote to remote |
| 172 | def test_cp_R2R(self): |