1
0
Fork 0
forked from github/pelican
Commit graph

20 commits

Author SHA1 Message Date
Florian Jacob
39db9ddcfd Get HtmlReader to work again
wrote unit tests and documentation, improved regular expression.
The HtmlReader is enabled by default now and parses metadata in html
files of the form:
<!-- key:value -->
2012-09-02 10:29:09 +02:00
tBunnyMan
9435b381ed Cleaned up tests.
Used assertItemsEqual in article generation to create more precise tests than with an elif chain
Separated out categories out into their own named test for clarity
Closes #405
2012-08-24 13:14:14 -07: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
Alexis Metaireau
4ce5adb2a0 Merge branch 'master' of github.com:ametaireau/pelican into fix-functional-tests 2012-07-10 13:51:34 +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
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
fe9388a7a4 Merge remote-tracking branch 'origin/master' into fix-functional-tests
Conflicts:
	tests/support.py
2012-07-05 01:22:31 +02: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
Bruno Binet
e82c6512b4 clean up temporary dirs in tearDown to force cleanup even if tests fail 2012-05-12 02:03:18 +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
Stuart Colville
06ba9acdb8 Pass write function to reduce duplication. Simplify logic. 2012-05-02 09:26:33 +01: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
Bruno Binet
ed58799f13 don't override globals settings 2012-03-30 13:33:07 +02:00
draftcode
cffb44891a Add an test related to articles' category. 2012-03-24 13:52:03 +09:00
Andrea Crotti
ff5921a469 - move the try/except dance in support.py
- use relative . imports in test files
- remove the "future with import", since python < 2.6 is not supported
2012-03-18 21:08:43 +00:00
Alexis Metaireau
3c983d62c9 change the tests to use the mock library instead of a custom mocking system 2012-03-11 11:25:30 +01:00
draftcode
1194764ed1 Do not create feeds when their filenames are set to None. 2012-03-11 01:30:45 +09:00