nltk.test.unit.test_json2csv_corpus module
Regression tests for json2csv() and json2csv_entities() in Twitter
package.
-
nltk.test.unit.test_json2csv_corpus.files_are_identical(pathA, pathB)[source]
Compare two files, ignoring carriage returns,
leading whitespace, and trailing whitespace
-
nltk.test.unit.test_json2csv_corpus.infile()[source]
-
nltk.test.unit.test_json2csv_corpus.test_textoutput(tmp_path, infile)[source]
-
nltk.test.unit.test_json2csv_corpus.test_user_metadata(tmp_path, infile)[source]
-
nltk.test.unit.test_json2csv_corpus.test_userurl(tmp_path, infile)[source]
-
nltk.test.unit.test_json2csv_corpus.test_file_is_wrong(tmp_path, infile)[source]
Sanity check that file comparison is not giving false positives.