Commit graph

31 commits

Author SHA1 Message Date
Bruno Binet
c74abe579b Don't rewrite URLs
Remove the code that was appending ../static in front of some URLs, and add a
way to do cross-content linking.
2012-12-01 21:30:50 +01:00
Bruno Binet
4d6ddd0af3 fix failing tests 2012-11-28 00:29:51 +01:00
Bruno Binet
801bc755b5 Merge branch 'pr/558'
Conflicts:
	docs/settings.rst
	pelican/signals.py
2012-11-23 15:32:17 +01:00
Simon
7ff0d0e686 Move webassets tests in their own file. 2012-11-20 23:42:11 +01:00
jawher
a79904c075 Update the generators tests to use FEED_ALL_ATOM as the default set atom feed instead of FEED_ATOM 2012-11-12 23:01:17 +01:00
Simon
7088135f5e Add tests for webassets: test absolute url and Jinja configuration 2012-11-07 00:18:48 +01:00
Simon
4cfb0cd24e Move Webassets in a plugin 2012-11-07 00:17:50 +01:00
Simon
b66a37ccb1 Unit tests for webassets
remove the unit tests for the lesscss generator (TestLessCSSGenerator class) and
replace it with tests for webassets:

- add a sample scss file
- run pelican with example files
- compare the generated css file with a reference one
- look in the html code for the correct link tag
2012-11-05 21:56:18 +01:00
Bruno Binet
3734c48489 add test for TemplatePagesGenerator 2012-10-30 09:56:10 +01:00
Bruno Binet
c0ed9e1cff add test for USE_FOLDER_AS_CATEGORY setting (#517) 2012-10-28 20:54:39 +01:00
Stéphane Bunel
ee46becaf9 FIX: Standardizing "extentions" to "extensions" 2012-10-03 22:29:59 +02:00
Stéphane Bunel
1beff31bd8 FIX test_generate_context() to include new file content/article_with_markdown_markup_extentions.md 2012-09-28 23:29:10 +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