f21edcde06240370dc8ce12ad250d6bd79b8a19b,tests/utils/test_files.py,TestHttpMisc,test_copy_to_http,#TestHttpMisc#,497
Before Change
directory = os.path.dirname(path)
make_dir(directory, check_empty=False)
with open(path, "w+") as file:
file.write(self.lorem)
self.assertRaises(NotWritableError, lambda: upload_or_copy(path, dst))
os.remove(path)
def test_copy_from_http(self):
After Change
directory = os.path.dirname(path)
make_dir(directory, check_empty=False)
str_to_file(self.lorem, path)
self.assertRaises(NotWritableError, lambda: upload_or_copy(path, dst))
os.remove(path)
In pattern: SUPERPATTERN
Frequency: 9
Non-data size: 5
Instances
Project Name: azavea/raster-vision
Commit Name: f21edcde06240370dc8ce12ad250d6bd79b8a19b
Time: 2019-03-24
Author: rdemanuele@gmail.com
File Name: tests/utils/test_files.py
Class Name: TestHttpMisc
Method Name: test_copy_to_http
Project Name: azavea/raster-vision
Commit Name: f21edcde06240370dc8ce12ad250d6bd79b8a19b
Time: 2019-03-24
Author: rdemanuele@gmail.com
File Name: tests/utils/test_files.py
Class Name: TestS3Misc
Method Name: test_file_exists
Project Name: azavea/raster-vision
Commit Name: f21edcde06240370dc8ce12ad250d6bd79b8a19b
Time: 2019-03-24
Author: rdemanuele@gmail.com
File Name: tests/utils/test_files.py
Class Name: TestS3Misc
Method Name: test_list_paths_s3
Project Name: azavea/raster-vision
Commit Name: f21edcde06240370dc8ce12ad250d6bd79b8a19b
Time: 2019-03-24
Author: rdemanuele@gmail.com
File Name: tests/utils/test_files.py
Class Name: TestLocalMisc
Method Name: test_file_exists
Project Name: azavea/raster-vision
Commit Name: f21edcde06240370dc8ce12ad250d6bd79b8a19b
Time: 2019-03-24
Author: rdemanuele@gmail.com
File Name: tests/utils/test_files.py
Class Name: TestMakeDir
Method Name: test_file_exists_local_true
Project Name: azavea/raster-vision
Commit Name: f21edcde06240370dc8ce12ad250d6bd79b8a19b
Time: 2019-03-24
Author: rdemanuele@gmail.com
File Name: tests/utils/test_files.py
Class Name: TestS3Misc
Method Name: test_last_modified_s3
Project Name: azavea/raster-vision
Commit Name: f21edcde06240370dc8ce12ad250d6bd79b8a19b
Time: 2019-03-24
Author: rdemanuele@gmail.com
File Name: tests/utils/test_files.py
Class Name: TestLocalMisc
Method Name: test_copy_to_local
Project Name: azavea/raster-vision
Commit Name: f21edcde06240370dc8ce12ad250d6bd79b8a19b
Time: 2019-03-24
Author: rdemanuele@gmail.com
File Name: tests/utils/test_files.py
Class Name: TestMakeDir
Method Name: test_file_exists_s3_true
Project Name: azavea/raster-vision
Commit Name: f21edcde06240370dc8ce12ad250d6bd79b8a19b
Time: 2019-03-24
Author: rdemanuele@gmail.com
File Name: tests/utils/test_files.py
Class Name: TestLocalMisc
Method Name: test_last_modified