diff --git a/pelican/contents.py b/pelican/contents.py
index 64f2480f..6f0a9035 100644
--- a/pelican/contents.py
+++ b/pelican/contents.py
@@ -105,15 +105,15 @@ class Content(object):
locale.setlocale(locale.LC_ALL, locale_string)
self.date_format = self.date_format[1]
- #Give valid timezone for date object
+ # Give valid timezone for date object.
if hasattr(self, 'date'):
self.locale_date = strftime(self.date, self.date_format)
if hasattr(self, 'timezone'):
- set_date_tzinfo(self.date,self.timezone)
+ set_date_tzinfo(self.date, self.timezone)
elif 'TIMEZONE' in self.settings:
set_date_tzinfo(self.date, settings['TIMEZONE'])
else:
- set_date_tzinfo(self.date,'UTC')
+ set_date_tzinfo(self.date, 'UTC')
# manage status
if not hasattr(self, 'status'):
diff --git a/pelican/tests/output/archives.html b/pelican/tests/output/archives.html
new file mode 100644
index 00000000..663f9009
--- /dev/null
+++ b/pelican/tests/output/archives.html
@@ -0,0 +1,48 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pelican/tests/output/author/alexis-metaireau.html b/pelican/tests/output/author/alexis-metaireau.html
new file mode 100644
index 00000000..ffb9a0dd
--- /dev/null
+++ b/pelican/tests/output/author/alexis-metaireau.html
@@ -0,0 +1,60 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pelican/tests/output/categories.html b/pelican/tests/output/categories.html
new file mode 100644
index 00000000..b984f5e9
--- /dev/null
+++ b/pelican/tests/output/categories.html
@@ -0,0 +1,43 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pelican/tests/output/category/yeah.html b/pelican/tests/output/category/yeah.html
new file mode 100644
index 00000000..1ffd77b4
--- /dev/null
+++ b/pelican/tests/output/category/yeah.html
@@ -0,0 +1,60 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pelican/tests/output/feeds/all-en.atom.xml b/pelican/tests/output/feeds/all-en.atom.xml
new file mode 100644
index 00000000..467d92ec
--- /dev/null
+++ b/pelican/tests/output/feeds/all-en.atom.xml
@@ -0,0 +1,2 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/pelican/tests/output/rst-with-filename-metadata.html b/pelican/tests/output/rst-with-filename-metadata.html
new file mode 100644
index 00000000..ebca4b74
--- /dev/null
+++ b/pelican/tests/output/rst-with-filename-metadata.html
@@ -0,0 +1,64 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pelican/tests/output/tags.html b/pelican/tests/output/tags.html
new file mode 100644
index 00000000..e69de29b
diff --git a/pelican/tests/output/theme/css/main.css b/pelican/tests/output/theme/css/main.css
new file mode 100644
index 00000000..fa0bcf1c
--- /dev/null
+++ b/pelican/tests/output/theme/css/main.css
@@ -0,0 +1,448 @@
+/*
+ Name: Smashing HTML5
+ Date: July 2009
+ Description: Sample layout for HTML5 and CSS3 goodness.
+ Version: 1.0
+ License: MIT