Advertisement
Guest User

Untitled

a guest
Jul 2nd, 2015
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.22 KB | None | 0 0
  1. (PY_Pelican_test)abrahamv@Beryl:~/PycharmProjects/pelican$ nosetests -sv --with-coverage --cover-package=pelican pelican
  2. test_datetime (pelican.tests.test_contents.TestArticle) ... ok
  3. test_defaultlang (pelican.tests.test_contents.TestArticle) ... ok
  4. test_get_content (pelican.tests.test_contents.TestArticle) ... ok
  5. test_intrasite_link (pelican.tests.test_contents.TestArticle) ... ok
  6. test_intrasite_link_markdown_spaces (pelican.tests.test_contents.TestArticle) ... ok
  7. test_intrasite_link_more (pelican.tests.test_contents.TestArticle) ... ok
  8. test_mandatory_properties (pelican.tests.test_contents.TestArticle) ... ok
  9. test_metadata_url_format (pelican.tests.test_contents.TestArticle) ... ok
  10. Test article with multiple authors. ... ok
  11. test_save_as (pelican.tests.test_contents.TestArticle) ... ok
  12. test_signal (pelican.tests.test_contents.TestArticle) ... ok
  13. test_slug (pelican.tests.test_contents.TestArticle) ... ok
  14. test_slugify_category_author (pelican.tests.test_contents.TestArticle) ... ok
  15. test_summary_from_metadata (pelican.tests.test_contents.TestArticle) ... ok
  16. test_summary_max_length (pelican.tests.test_contents.TestArticle) ... ok
  17. test_template (pelican.tests.test_contents.TestArticle) ... ok
  18. test_use_args (pelican.tests.test_contents.TestArticle) ... ok
  19. test_datetime (pelican.tests.test_contents.TestPage) ... ok
  20. test_defaultlang (pelican.tests.test_contents.TestPage) ... ok
  21. test_get_content (pelican.tests.test_contents.TestPage) ... ok
  22. test_intrasite_link (pelican.tests.test_contents.TestPage) ... ok
  23. test_intrasite_link_markdown_spaces (pelican.tests.test_contents.TestPage) ... ok
  24. test_intrasite_link_more (pelican.tests.test_contents.TestPage) ... ok
  25. test_mandatory_properties (pelican.tests.test_contents.TestPage) ... ok
  26. test_metadata_url_format (pelican.tests.test_contents.TestPage) ... ok
  27. Test article with multiple authors. ... ok
  28. test_save_as (pelican.tests.test_contents.TestPage) ... ok
  29. test_signal (pelican.tests.test_contents.TestPage) ... ok
  30. test_slug (pelican.tests.test_contents.TestPage) ... ok
  31. test_summary_from_metadata (pelican.tests.test_contents.TestPage) ... ok
  32. test_summary_max_length (pelican.tests.test_contents.TestPage) ... ok
  33. test_template (pelican.tests.test_contents.TestPage) ... ok
  34. test_use_args (pelican.tests.test_contents.TestPage) ... ok
  35. {attach} link syntax triggers output path override & url replacement. ... ok
  36. attach_to() does not override paths that were overridden elsewhere. ... ok
  37. attach_to() does nothing if the save_as was already referenced. ... ok
  38. attach_to() does nothing if the url was already referenced. ... ok
  39. attach_to() does nothing when called a second time. ... ok
  40. attach_to() ignores dirs outside the linking document dir. ... ok
  41. attach_to() preserves dirs inside the linking document dir. ... ok
  42. attach_to() overrides a static file's save_as and url. ... ok
  43. {category} link syntax triggers url replacement. ... ok
  44. {tag} link syntax triggers url replacement. ... ok
  45. test_comparisons (pelican.tests.test_contents.TestURLWrapper) ... ok
  46. Test Article objects caching at the generator level ... ok
  47. test_direct_templates_save_as_default (pelican.tests.test_generators.TestArticlesGenerator) ... ok
  48. test_direct_templates_save_as_false (pelican.tests.test_generators.TestArticlesGenerator) ... ok
  49. test_direct_templates_save_as_modified (pelican.tests.test_generators.TestArticlesGenerator) ... ok
  50. test_do_not_use_folder_as_category (pelican.tests.test_generators.TestArticlesGenerator) ... ok
  51. Check authors generation. ... ok
  52. test_generate_categories (pelican.tests.test_generators.TestArticlesGenerator) ... ok
  53. test_generate_context (pelican.tests.test_generators.TestArticlesGenerator) ... ok
  54. test_generate_feeds (pelican.tests.test_generators.TestArticlesGenerator) ... ok
  55. Test that all the articles are read again when not loading cache ... ok
  56. Attempt to load a non-existent template ... ok
  57. Custom template articles get the field but standard/unset are None ... ok
  58. Test that the context of a generated period_archive is passed ... ok
  59. Test raw content caching at the reader level ... ok
  60. test_standard_metadata_in_default_metadata (pelican.tests.test_generators.TestArticlesGenerator) ... ok
  61. Test that Generator.get_files() properly excludes directories. ... ok
  62. test_include_path (pelican.tests.test_generators.TestGenerator) ... ok
  63. test_generate_context (pelican.tests.test_generators.TestPageGenerator) ... ok
  64. test_generate_sorted (pelican.tests.test_generators.TestPageGenerator) ... ok
  65. Test that all the pages are read again when not loading cache ... ok
  66. Test Page objects caching at the generator level ... ok
  67. Test raw content caching at the reader level ... ok
  68. Test to ensure links of the form {tag}tagname and {category}catname ... ok
  69. Test that StaticGenerator respects STATIC_EXCLUDE_SOURCES. ... ok
  70. Test that StaticGenerator respects STATIC_EXCLUDES. ... ok
  71. test_generate_output (pelican.tests.test_generators.TestTemplatePagesGenerator) ... ok
  72. test_build_header (pelican.tests.test_importer.TestBuildHeader) ... ok
  73. test_build_header_with_east_asian_characters (pelican.tests.test_importer.TestBuildHeader) ... ok
  74. test_build_header_with_fields (pelican.tests.test_importer.TestBuildHeader) ... ok
  75. test_galleries_added_to_header (pelican.tests.test_importer.TestBuildHeader) ... ok
  76. test_galleries_added_to_markdown_header (pelican.tests.test_importer.TestBuildHeader) ... ok
  77. test_attachments_associated_with_correct_post (pelican.tests.test_importer.TestWordpressXMLAttachements) ... ok
  78. test_download_attachments (pelican.tests.test_importer.TestWordpressXMLAttachements) ... ok
  79. test_recognise_attachments (pelican.tests.test_importer.TestWordpressXMLAttachements) ... ok
  80. test_can_toggle_raw_html_code_parsing (pelican.tests.test_importer.TestWordpressXmlImporter) ... SKIP: [u'pandoc', u'--version'] executable not found
  81. test_code_in_list (pelican.tests.test_importer.TestWordpressXmlImporter) ... SKIP: [u'pandoc', u'--version'] executable not found
  82. test_custom_posts_put_in_own_dir (pelican.tests.test_importer.TestWordpressXmlImporter) ... SKIP: [u'pandoc', u'--version'] executable not found
  83. test_custom_posts_put_in_own_dir_and_catagory_sub_dir (pelican.tests.test_importer.TestWordpressXmlImporter) ... SKIP: [u'pandoc', u'--version'] executable not found
  84. test_decode_html_entities_in_titles (pelican.tests.test_importer.TestWordpressXmlImporter) ... SKIP: [u'pandoc', u'--version'] executable not found
  85. Check that we can decode a wordpress content string. ... SKIP: [u'pandoc', u'--version'] executable not found
  86. Check that given an empty string we return an empty string. ... SKIP: [u'pandoc', u'--version'] executable not found
  87. test_dircat (pelican.tests.test_importer.TestWordpressXmlImporter) ... SKIP: [u'pandoc', u'--version'] executable not found
  88. test_dirpage_directive_for_page_kind (pelican.tests.test_importer.TestWordpressXmlImporter) ... SKIP: [u'pandoc', u'--version'] executable not found
  89. test_ignore_empty_posts (pelican.tests.test_importer.TestWordpressXmlImporter) ... SKIP: [u'pandoc', u'--version'] executable not found
  90. test_preserve_verbatim_formatting (pelican.tests.test_importer.TestWordpressXmlImporter) ... SKIP: [u'pandoc', u'--version'] executable not found
  91. test_recognise_custom_post_type (pelican.tests.test_importer.TestWordpressXmlImporter) ... SKIP: [u'pandoc', u'--version'] executable not found
  92. Check that we recognise pages in wordpress, as opposed to posts ... SKIP: [u'pandoc', u'--version'] executable not found
  93. test_unless_custom_post_all_items_should_be_pages_or_posts (pelican.tests.test_importer.TestWordpressXmlImporter) ... SKIP: [u'pandoc', u'--version'] executable not found
  94. test_wp_custpost_true_dirpage_false (pelican.tests.test_importer.TestWordpressXmlImporter) ... SKIP: [u'pandoc', u'--version'] executable not found
  95. test_save_as_preservation (pelican.tests.test_paginator.TestPage) ... ok
  96. test_basic_generation_works (pelican.tests.test_pelican.TestPelican) ... ok
  97. test_custom_generation_works (pelican.tests.test_pelican.TestPelican) ... ok
  98. Test that generation with fr_FR.UTF-8 locale works ... SKIP: French locale needed
  99. test_order_of_generators (pelican.tests.test_pelican.TestPelican) ... ok
  100. test_theme_static_paths_copy (pelican.tests.test_pelican.TestPelican) ... ok
  101. test_theme_static_paths_copy_single_file (pelican.tests.test_pelican.TestPelican) ... ok
  102. Test that only the selected files are written ... ok
  103. test_readfile_unknown_extension (pelican.tests.test_readers.DefaultReaderTest) ... ok
  104. test_article_metadata_key_lowercase (pelican.tests.test_readers.HTMLReaderTest) ... ok
  105. test_article_with_comments (pelican.tests.test_readers.HTMLReaderTest) ... ok
  106. test_article_with_keywords (pelican.tests.test_readers.HTMLReaderTest) ... ok
  107. test_article_with_metadata (pelican.tests.test_readers.HTMLReaderTest) ... ok
  108. test_article_with_metadata_and_contents_attrib (pelican.tests.test_readers.HTMLReaderTest) ... ok
  109. test_article_with_multiple_authors (pelican.tests.test_readers.HTMLReaderTest) ... ok
  110. test_article_with_nonconformant_meta_tags (pelican.tests.test_readers.HTMLReaderTest) ... ok
  111. test_article_with_null_attributes (pelican.tests.test_readers.HTMLReaderTest) ... ok
  112. test_article_with_file_extensions (pelican.tests.test_readers.MdReaderTest) ... ok
  113. test_article_with_filename_metadata (pelican.tests.test_readers.MdReaderTest) ... ok
  114. test_article_with_footnote (pelican.tests.test_readers.MdReaderTest) ... ok
  115. test_article_with_markdown_markup_extension (pelican.tests.test_readers.MdReaderTest) ... ok
  116. test_article_with_metadata (pelican.tests.test_readers.MdReaderTest) ... ok
  117. test_article_extra_path_metadata (pelican.tests.test_readers.RstReaderTest) ... ok
  118. test_article_extra_path_metadata_dont_overwrite (pelican.tests.test_readers.RstReaderTest) ... ok
  119. test_article_metadata_key_lowercase (pelican.tests.test_readers.RstReaderTest) ... ok
  120. test_article_with_filename_metadata (pelican.tests.test_readers.RstReaderTest) ... ok
  121. test_article_with_metadata (pelican.tests.test_readers.RstReaderTest) ... ok
  122. test_article_with_multiple_authors (pelican.tests.test_readers.RstReaderTest) ... ok
  123. test_typogrify (pelican.tests.test_readers.RstReaderTest) ... ok
  124. test_typogrify_ignore_tags (pelican.tests.test_readers.RstReaderTest) ... ok
  125. test_typogrify_summary (pelican.tests.test_readers.RstReaderTest) ... ok
  126. test_equal (pelican.tests.test_readers.TestAssertDictHasSubset) ... ok
  127. test_fail_not_set (pelican.tests.test_readers.TestAssertDictHasSubset) ... ok
  128. test_fail_wrong_val (pelican.tests.test_readers.TestAssertDictHasSubset) ... ok
  129. test_subset (pelican.tests.test_readers.TestAssertDictHasSubset) ... ok
  130. test (pelican.tests.test_rstdirectives.Test_abbr_role) ... ok
  131. test_newlines_in_abbr (pelican.tests.test_rstdirectives.Test_abbr_role) ... ok
  132. test_newlines_in_explanation (pelican.tests.test_rstdirectives.Test_abbr_role) ... ok
  133. test_configure_settings (pelican.tests.test_settings.TestSettingsConfiguration) ... ok
  134. test_default_encoding (pelican.tests.test_settings.TestSettingsConfiguration) ... ok
  135. test_defaults_not_overwritten (pelican.tests.test_settings.TestSettingsConfiguration) ... ok
  136. test_deprecated_dir_setting (pelican.tests.test_settings.TestSettingsConfiguration) ... ok
  137. test_dont_copy_small_keys (pelican.tests.test_settings.TestSettingsConfiguration) ... ok
  138. test_invalid_settings_throw_exception (pelican.tests.test_settings.TestSettingsConfiguration) ... ok
  139. test_keep_default_settings (pelican.tests.test_settings.TestSettingsConfiguration) ... ok
  140. test_overwrite_existing_settings (pelican.tests.test_settings.TestSettingsConfiguration) ... ok
  141. test_read_empty_settings (pelican.tests.test_settings.TestSettingsConfiguration) ... ok
  142. test_settings_return_independent (pelican.tests.test_settings.TestSettingsConfiguration) ... ok
  143. test_static_path_settings_safety (pelican.tests.test_settings.TestSettingsConfiguration) ... ok
  144. test_theme_settings_exceptions (pelican.tests.test_settings.TestSettingsConfiguration) ... ok
  145. test_copy_dir_create_dirs (pelican.tests.test_utils.TestCopy) ... ok
  146. test_copy_dir_different_path (pelican.tests.test_utils.TestCopy) ... ok
  147. test_copy_dir_same_path (pelican.tests.test_utils.TestCopy) ... ok
  148. test_copy_file_create_dirs (pelican.tests.test_utils.TestCopy) ... ok
  149. test_copy_file_different_path (pelican.tests.test_utils.TestCopy) ... ok
  150. test_copy_file_same_path (pelican.tests.test_utils.TestCopy) ... ok
  151. test_french_locale (pelican.tests.test_utils.TestDateFormatter) ... SKIP: French locale needed
  152. test_french_strftime (pelican.tests.test_utils.TestDateFormatter) ... SKIP: French locale needed
  153. test_turkish_locale (pelican.tests.test_utils.TestDateFormatter) ... SKIP: Turkish locale needed
  154. test_clean_output_dir (pelican.tests.test_utils.TestUtils) ... ok
  155. test_clean_output_dir_is_file (pelican.tests.test_utils.TestUtils) ... ok
  156. test_clean_output_dir_not_there (pelican.tests.test_utils.TestUtils) ... ok
  157. test_deprecated_attribute (pelican.tests.test_utils.TestUtils) ... ok
  158. test_get_date (pelican.tests.test_utils.TestUtils) ... ok
  159. test_get_relative_path (pelican.tests.test_utils.TestUtils) ... ok
  160. test_process_translations (pelican.tests.test_utils.TestUtils) ... ok
  161. test_slugify (pelican.tests.test_utils.TestUtils) ... ok
  162. test_slugify_substitute (pelican.tests.test_utils.TestUtils) ... ok
  163. test_strftime (pelican.tests.test_utils.TestUtils) ... ok
  164. test_strftime_locale_dependent_french (pelican.tests.test_utils.TestUtils) ... SKIP: French locale needed
  165. test_strftime_locale_dependent_turkish (pelican.tests.test_utils.TestUtils) ... SKIP: Turkish locale needed
  166. test_watchers (pelican.tests.test_utils.TestUtils) ... ok
  167.  
  168. Name Stmts Miss Cover Missing
  169. ------------------------------------------------------------
  170. pelican 238 152 36% 69, 72-84, 91-102, 105-127, 133-140, 165, 200, 203-211, 226-233, 237-303, 307-337, 342-354, 358-470
  171. pelican.conf 22 22 0% 2-55
  172. pelican.contents 238 19 92% 40, 119, 137-142, 151-156, 200, 240, 269, 335, 379, 383, 387
  173. pelican.generators 386 30 92% 47, 270, 274, 319-327, 344, 362-363, 506-510, 606-610, 667, 709, 712-715, 718-722
  174. pelican.log 96 37 61% 19-20, 23-26, 33-38, 42, 63-68, 77-80, 119-120, 122, 136, 176-187, 191-198
  175. pelican.paginator 88 15 83% 66, 79, 88, 91, 94, 102-104, 112-114, 129, 134-135, 156
  176. pelican.readers 367 14 96% 18-19, 159, 199, 253, 315, 348, 351, 422-424, 514-515, 559, 586
  177. pelican.rstdirectives 49 3 94% 42-44, 84
  178. pelican.settings 127 13 90% 14, 153-156, 158-160, 249-250, 281, 372-376
  179. pelican.signals 28 0 100%
  180. pelican.tools 0 0 100%
  181. pelican.tools.pelican_import 528 407 23% 32-101, 107-110, 126-170, 175-303, 309-355, 361-439, 443-453, 472, 493, 500-504, 508-552, 620-696, 699-801
  182. pelican.urlwrappers 68 4 94% 43-44, 88-89
  183. pelican.utils 410 64 84% 77, 81, 116-128, 162, 171, 211-212, 241, 243, 300, 319, 332-333, 340, 346-347, 353-356, 374, 418, 423, 432-433, 508, 520-523, 529-532, 554-555, 577-579, 605, 623-625, 648, 658-663, 706-715, 733-736
  184. pelican.writers 109 4 96% 67, 76, 106, 148
  185. ------------------------------------------------------------
  186. TOTAL 2754 784 72%
  187. ----------------------------------------------------------------------
  188. Ran 165 tests in 3.348s
  189.  
  190. OK (SKIP=21)
  191. (PY_Pelican_test)abrahamv@Beryl:~/PycharmProjects/pelican$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement