tests.general_tools_tests.test_file_utils.
FileUtilsTests
Bases: unittest.case.TestCase
unittest.case.TestCase
paths_equal
setUp
Runs before each test.
tearDown
Runs after each test.
Delete temp dirs
test_add_contents_to_zip
test_add_file_to_zip
test_get_files
test_get_mime_type
test_get_subdirs
test_load_json_object
test_make_dir
test_read_file
test_unzip
test_write_file
test_write_file_json
A call to write_file where the content is an object (as opposed to a string).
tests.general_tools_tests.test_smartquotes.
SmartquotesTests
test_empty
test_multiple_lines
tests.general_tools_tests.test_url_utils.
UrlUtilsTests
mock_urlopen
raise_urlopen
test_download_file
test_get_languages
test_get_url
test_get_url_error
test_join_url_parts_multiple
test_join_url_parts_single