From 07ccf477d06a2a2c1b0290ef33628b86a99324d6 Mon Sep 17 00:00:00 2001 From: Bruno Binet Date: Sat, 24 Nov 2012 00:29:48 +0100 Subject: [PATCH] update "basic" output for functional tests so that test pass LC_ALL="C" pelican -o tests/output/basic/ samples/content/ --- .../output/basic/author/alexis-metaireau.html | 4 +- tests/output/basic/author/dummy-author.html | 288 ------------------ tests/output/basic/category/bar.html | 4 +- tests/output/basic/category/content.html | 147 --------- .../output/basic/drafts/a-draft-article.html | 67 ---- tests/output/basic/feeds/all-fr.atom.xml | 3 +- tests/output/basic/feeds/all.atom.xml | 3 +- tests/output/basic/feeds/content.atom.xml | 4 - tests/output/basic/index.html | 4 +- tests/output/basic/oh-yeah-fr.html | 68 ----- tests/output/basic/oh-yeah.html | 4 +- tests/output/basic/tag/bar.html | 4 +- tests/output/basic/tag/oh.html | 4 +- tests/output/basic/tag/yeah.html | 4 +- 14 files changed, 9 insertions(+), 599 deletions(-) delete mode 100644 tests/output/basic/author/dummy-author.html delete mode 100644 tests/output/basic/category/content.html delete mode 100644 tests/output/basic/drafts/a-draft-article.html delete mode 100644 tests/output/basic/feeds/content.atom.xml delete mode 100644 tests/output/basic/oh-yeah-fr.html diff --git a/tests/output/basic/author/alexis-metaireau.html b/tests/output/basic/author/alexis-metaireau.html index 014127c5..07caba91 100644 --- a/tests/output/basic/author/alexis-metaireau.html +++ b/tests/output/basic/author/alexis-metaireau.html @@ -44,9 +44,7 @@ By Alexis Métaireau

In bar.

-

tags: ohbaryeah

Translations: - fr - +

tags: ohbaryeah

Why not ?

After all, why not ? It's pretty simple to do it, and it will allow me to write my blogposts in rst ! diff --git a/tests/output/basic/author/dummy-author.html b/tests/output/basic/author/dummy-author.html deleted file mode 100644 index bd47adde..00000000 --- a/tests/output/basic/author/dummy-author.html +++ /dev/null @@ -1,288 +0,0 @@ - - - - A Pelican Blog - Dummy Author - - - - - - - - - - - - - - - - - -

- - - - - - - - -
-

Other articles

-
-
    - - - - - - - - - -
  1. - - - - - - - -
  2. - - - - - - - -
  3. - - - - - - - -
  4. - - - - - - - -
  5. - - -
- - - -
- - - - -
- - -
- - - - - - - - \ No newline at end of file diff --git a/tests/output/basic/category/bar.html b/tests/output/basic/category/bar.html index b47d7522..4fe9447c 100644 --- a/tests/output/basic/category/bar.html +++ b/tests/output/basic/category/bar.html @@ -44,9 +44,7 @@ By Alexis Métaireau

In bar.

-

tags: ohbaryeah

Translations: - fr - +

tags: ohbaryeah

Why not ?

After all, why not ? It's pretty simple to do it, and it will allow me to write my blogposts in rst ! diff --git a/tests/output/basic/category/content.html b/tests/output/basic/category/content.html deleted file mode 100644 index 19ceef2c..00000000 --- a/tests/output/basic/category/content.html +++ /dev/null @@ -1,147 +0,0 @@ - - - - A Pelican Blog - content - - - - - - - - - - - - - - - -

- - - - - - - - -
-

Other articles

-
-
    - - - - - - - - - - -
  1. - - - - - -
-
- - - - -
- - -
- - - - - - - - \ No newline at end of file diff --git a/tests/output/basic/drafts/a-draft-article.html b/tests/output/basic/drafts/a-draft-article.html deleted file mode 100644 index 71e778ce..00000000 --- a/tests/output/basic/drafts/a-draft-article.html +++ /dev/null @@ -1,67 +0,0 @@ - - - - A draft article - - - - - - - - - - - - - - -
-
-
-

- A draft article

-
- -
-
- - Mon 17 September 2012 - - -

In misc.

- -

This is a draft article, it should live under the /drafts/ folder and not be -listed anywhere else.

- -
- -
-
-
-
- - - - - \ No newline at end of file diff --git a/tests/output/basic/feeds/all-fr.atom.xml b/tests/output/basic/feeds/all-fr.atom.xml index 2cfb5ea6..98b9a681 100644 --- a/tests/output/basic/feeds/all-fr.atom.xml +++ b/tests/output/basic/feeds/all-fr.atom.xml @@ -1,4 +1,3 @@ -A Pelican Blog/2012-09-17T15:02:39ZTrop bien !2012-09-17T15:02:39Ztag:,2012-09-17:oh-yeah-fr.html<p>Et voila du contenu en français</p> -Deuxième article2012-02-29T00:00:00Ztag:,2012-02-29:second-article-fr.html<p>Ceci est un article, en français.</p> +A Pelican Blog/2012-02-29T00:00:00ZDeuxième article2012-02-29T00:00:00Ztag:,2012-02-29:second-article-fr.html<p>Ceci est un article, en français.</p> \ No newline at end of file diff --git a/tests/output/basic/feeds/all.atom.xml b/tests/output/basic/feeds/all.atom.xml index a439882f..c715db8c 100644 --- a/tests/output/basic/feeds/all.atom.xml +++ b/tests/output/basic/feeds/all.atom.xml @@ -1,6 +1,5 @@ -A Pelican Blog/2012-09-17T15:02:39ZTrop bien !2012-09-17T15:02:39Ztag:,2012-09-17:oh-yeah-fr.html<p>Et voila du contenu en français</p> -Second article2012-02-29T00:00:00Ztag:,2012-02-29:second-article.html<p>This is some article, in english</p> +A Pelican Blog/2012-02-29T00:00:00ZSecond article2012-02-29T00:00:00Ztag:,2012-02-29:second-article.html<p>This is some article, in english</p> Deuxième article2012-02-29T00:00:00Ztag:,2012-02-29:second-article-fr.html<p>Ceci est un article, en français.</p> A markdown powered article2011-04-20T00:00:00Ztag:,2011-04-20:a-markdown-powered-article.html<p>You're mutually oblivious.</p>Article 12011-02-17T00:00:00Ztag:,2011-02-17:article-1.html<p>Article 1</p> Article 22011-02-17T00:00:00Ztag:,2011-02-17:article-2.html<p>Article 2</p> diff --git a/tests/output/basic/feeds/content.atom.xml b/tests/output/basic/feeds/content.atom.xml deleted file mode 100644 index 1fa740b4..00000000 --- a/tests/output/basic/feeds/content.atom.xml +++ /dev/null @@ -1,4 +0,0 @@ - -A Pelican Blog.././2012-02-29T00:00:00ZSecond article2012-02-29T00:00:00ZDummy Authortag:../.,2012-02-29:second-article.html<p>This is some article, in english</p> -Unbelievable !2010-10-15T20:30:00ZDummy Authortag:../.,2010-10-15:unbelievable.html<p>Or completely awesome. Depends the needs.</p> - \ No newline at end of file diff --git a/tests/output/basic/index.html b/tests/output/basic/index.html index 8a063033..04a4fd12 100644 --- a/tests/output/basic/index.html +++ b/tests/output/basic/index.html @@ -183,9 +183,7 @@ as well as inline markup.

By Alexis Métaireau

In bar.

-

tags: ohbaryeah

Translations: - fr - +

tags: ohbaryeah

Why not ?

After all, why not ? It's pretty simple to do it, and it will allow me to write my blogposts in rst ! diff --git a/tests/output/basic/oh-yeah-fr.html b/tests/output/basic/oh-yeah-fr.html deleted file mode 100644 index 5143907f..00000000 --- a/tests/output/basic/oh-yeah-fr.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - Trop bien ! - - - - - - - - - - - - - -

-
-
-
-

- Trop bien !

-
- -
-
- - Mon 17 September 2012 - - -

In misc.

-Translations: - en - -

Et voila du contenu en français

- -
- -
-
-
-
- - - - - \ No newline at end of file diff --git a/tests/output/basic/oh-yeah.html b/tests/output/basic/oh-yeah.html index 0e06699d..1c7bb43e 100644 --- a/tests/output/basic/oh-yeah.html +++ b/tests/output/basic/oh-yeah.html @@ -47,9 +47,7 @@ By Alexis Métaireau

In bar.

-

tags: ohbaryeah

Translations: - fr - +

tags: ohbaryeah

Why not ?

After all, why not ? It's pretty simple to do it, and it will allow me to write my blogposts in rst ! diff --git a/tests/output/basic/tag/bar.html b/tests/output/basic/tag/bar.html index 4bc5adc0..f2d0bf72 100644 --- a/tests/output/basic/tag/bar.html +++ b/tests/output/basic/tag/bar.html @@ -120,9 +120,7 @@ as well as inline markup.

By Alexis Métaireau

In bar.

-

tags: ohbaryeah

Translations: - fr - +

tags: ohbaryeah

Why not ?

After all, why not ? It's pretty simple to do it, and it will allow me to write my blogposts in rst ! diff --git a/tests/output/basic/tag/oh.html b/tests/output/basic/tag/oh.html index a286ca8d..36731c8c 100644 --- a/tests/output/basic/tag/oh.html +++ b/tests/output/basic/tag/oh.html @@ -44,9 +44,7 @@ By Alexis Métaireau

In bar.

-

tags: ohbaryeah

Translations: - fr - +

tags: ohbaryeah

Why not ?

After all, why not ? It's pretty simple to do it, and it will allow me to write my blogposts in rst ! diff --git a/tests/output/basic/tag/yeah.html b/tests/output/basic/tag/yeah.html index 1e91b765..fb6909b4 100644 --- a/tests/output/basic/tag/yeah.html +++ b/tests/output/basic/tag/yeah.html @@ -44,9 +44,7 @@ By Alexis Métaireau

In bar.

-

tags: ohbaryeah

Translations: - fr - +

tags: ohbaryeah

Why not ?

After all, why not ? It's pretty simple to do it, and it will allow me to write my blogposts in rst !