def test_unzip(): download_utils.unzip('tests/resources/file.zip', cleanup=False) expected_file_location = os.path.join('tests', 'resources', 'file.txt') assert os.path.exists(expected_file_location) os.remove(expected_file_location)
def test_unzip(): download_utils.unzip("tests/resources/file.zip", cleanup=False) expected_file_location = os.path.join("tests", "resources", "file.txt") assert os.path.exists(expected_file_location) os.remove(expected_file_location)