Commit graph

101 commits

Author SHA1 Message Date
Alexis Metaireau
0e4d493d93 typogrify also does some changes on the abbr 2012-07-27 00:34:47 +02:00
Alexis Metaireau
f3280071c1 change the link to pelican in the default theme 2012-07-27 00:31:02 +02:00
Alexis Metaireau
20d5c1ab13 update the desired output so the tests pass 2012-07-20 12:57:48 +02:00
Alexis Metaireau
8007c20c79 Merge pull request #418 from tbunnyman/WarnOnFeedGeneration#383
Update: De-appreciate FEED for FEED_RSS & FEED_ATOM
2012-07-20 03:53:18 -07:00
Alexis Metaireau
db79abdc13 Merge pull request #419 from tbunnyman/ReverseArchiveOrder#304
Change default REVERSE_ARCHIVE_ORDER to true
2012-07-20 03:51:59 -07:00
Alexis Metaireau
1ba712bea9 Merge pull request #423 from lueo/asian_slug
Add unidecode for translating slugs in asian languages
2012-07-20 03:50:55 -07:00
Dirkjan Ochtman
636fd6cc38 Add support for abbreviations to reST translator (fixes #395). 2012-07-17 13:30:06 +02:00
tBunnyMan
5f958ae84d Refactor atom feed names for clarity
FEED -> FEED_ATOM
TAG_FEED -> TAG_FEED_ATOM
CATEGORY_FEED -> CATEGORY_FEED_ATOM
2012-07-16 09:35:05 -07:00
Leonard Huang
6f40e452e1 Add unidecode for translating slugs in asian languages 2012-07-16 11:36:20 +08:00
tBunnyMan
79e480a894 Change default REVERSE_ARCHIVE_ORDER to true
Updated documentation and updated tests to reflect correct default order
Fixes #304
2012-07-14 17:53:10 -07:00
Alexis Metaireau
4ce5adb2a0 Merge branch 'master' of github.com:ametaireau/pelican into fix-functional-tests 2012-07-10 13:51:34 +02:00
Alexis Metaireau
4d23ffc112 Updated the functional tests to match latest changes. 2012-07-10 13:42:43 +02:00
tBunnyMan
dff5b3589b Add per page templates. Closes #376
Also set up helper classes in test_generators.py for cleaner tests
2012-07-07 14:15:43 -07:00
Alexis Metaireau
6521af5a13 Merge pull request #394 from tbunnyman/issue#380
Small fix for nose tests
2012-07-05 02:19:51 -07:00
tBunnyMan
886a1d94b9 Changed name of the page helper method to prevent nose from running it as a test 2012-07-04 17:09:42 -07:00
Bruno Binet
2b47429c4a update generated output for 'custom' functional test
LC_ALL="C" pelican -o tests/output/custom/ -s samples/pelican.conf.py samples/content/
2012-07-05 01:52:17 +02:00
Bruno Binet
fe9388a7a4 Merge remote-tracking branch 'origin/master' into fix-functional-tests
Conflicts:
	tests/support.py
2012-07-05 01:22:31 +02:00
tBunnyMan
cb3c40256a Merge branch 'master' of github.com:ametaireau/pelican into DeleteContentsNotDirectory 2012-07-04 15:12:39 -07:00
Bruno Binet
7abb2a7a7c temporary skip failing test_basic_generation_works functional test 2012-07-05 00:12:10 +02:00
tBunnyMan
c07821e8a2 Too many empty lines at end of file 2012-07-04 14:56:52 -07:00
tBunnyMan
d589450200 Change behavior of DELETE_OUTPUT_DIRECTORY to purge contents of the directory, not the directory itself.
Added Debug level logging for each deletion
Added error level logging when a delete has an exception
Built a test case for clean_output_directory in tests.utils.py
Updated `settings` in documentation to reflect new behavior
Removed the tip from the bottom of getting started since this setting should no longer break web servers pointing to the output directory.
2012-07-04 12:32:20 -07:00
tBunnyMan
cf696939f8 Added tests for page generation.
Currently tests rst & markdown generation, ignoring pages w/ bad status, and status hidden vs published
2012-07-04 10:06:53 -07:00
dave mankoff
1d5228388b git pull git://github.com/ametaireau/pelican.git 2012-06-11 10:21:13 -04:00
dave mankoff
c6f1d0aada fix SUMMARY_MAX_LENGTH, document it, and test it 2012-06-11 08:39:13 -04:00
Alexis Metaireau
191b1cdb0f skip unless deps are installed in tests 2012-06-10 21:56:17 +02:00
Alexis Metaireau
7c48937ea2 pandoc is optional 2012-06-10 13:27:36 +02:00
Alexis Metaireau
298c15bdda don't test the markdown reader if markdown isn't installed 2012-06-10 12:42:33 +02:00
Bruno Binet
ef77847762 force locale to ascii in functional tests 2012-05-19 23:44:37 +02:00
sam
ba8ed9fb18 Added strip raw option to wordpress xml importer 2012-05-13 23:37:33 +02:00
Bruno Binet
e82c6512b4 clean up temporary dirs in tearDown to force cleanup even if tests fail 2012-05-12 02:03:18 +02:00
Bruno Binet
a8983b420f be more verbose when functional tests fail 2012-05-12 01:30:09 +02:00
Bruno Binet
b7e6d3d98d update functional tests output 2012-05-12 01:07:17 +02:00
Bruno Binet
ebfdabf2d7 Merge branch 'master' into fix-functional-tests
Conflicts:
	tests/test_generators.py
2012-05-12 00:19:14 +02:00
Alexis Metaireau
419a2159e6 Merge remote-tracking branch 'muffinresearch/master'
Conflicts:
	docs/settings.rst
	tests/test_generators.py
2012-05-11 16:17:47 +02:00
Alexis Metaireau
8a842c0de7 merge with master 2012-05-06 02:43:13 +02:00
Alexis Metaireau
0fe1453c50 Merge pull request #306 from mbowcock/master
Add output markup option to importer doc and multiple file extensions to file reader
2012-05-05 17:26:27 -07:00
Stuart Colville
06ba9acdb8 Pass write function to reduce duplication. Simplify logic. 2012-05-02 09:26:33 +01:00
Matt Bowcock
3c987d20b1 Added some metadata to new test files 2012-05-01 23:30:23 -04:00
Matt Bowcock
ec610537be Added test for markdown files using extension md and mkd.
Tests ensure the correct reader is processing file.
2012-05-01 23:19:38 -04:00
Stuart Colville
5ab1933be7 added tests for custom save_as for direct templates 2012-04-29 13:45:14 +01:00
Meir Kriheli
f558389006 Remove redundant LESS_COMPILER setting 2012-04-28 03:25:54 +03:00
Meir Kriheli
1d3e38c5dd Test less generator 2012-04-28 03:03:53 +03:00
Meir Kriheli
d4e981f916 unittest helper: Skip if exectuable not found 2012-04-28 02:41:48 +03:00
Bruno Binet
79e7ccce29 Merge branch 'fix-sort-categories' into fix-functional-tests 2012-04-23 23:33:09 +02:00
Bruno Binet
1efda9eb74 test that categories are ordered as expected 2012-04-23 23:29:00 +02:00
Bruno Binet
912ffe4a91 update basic output with $USER="Dummy Author"
USER="Dummy Author" pelican -o tests/output/basic/ samples/content/
2012-04-04 23:17:46 +02:00
Bruno Binet
c430ab57ba mock getenv to always return the same value for $USER 2012-04-04 22:54:28 +02:00
Bruno Binet
c4c49678f9 update basic output now that categories are correctly sorted
pelican -o tests/output/basic/ samples/content/
2012-04-04 22:54:23 +02:00
Bruno Binet
7fcaca85dd update custom output now that categories are correctly sorted
pelican -o tests/output/custom/ -s samples/pelican.conf.py samples/content/
2012-04-04 22:54:16 +02:00
Bruno Binet
f903aaa1a4 remove unittest.skip statements for functional tests 2012-04-04 22:43:37 +02:00