summaryrefslogtreecommitdiff
path: root/test/data
diff options
context:
space:
mode:
Diffstat (limited to 'test/data')
-rw-r--r--test/data/config_1.txt26
-rw-r--r--test/data/config_2.txt11
-rw-r--r--test/data/config_error_handler.txt2
-rw-r--r--test/data/config_list.txt8
-rw-r--r--test/data/config_list_2.txt2
-rw-r--r--test/data/config_old.txt14
-rw-r--r--test/data/csv_data.txt1
-rw-r--r--test/data/csv_dep.txt2
-rw-r--r--test/data/dependencies.txt8
-rw-r--r--test/data/include.txt1
-rw-r--r--test/data/raw.txt0
-rw-r--r--test/data/stylesheet.txt0
12 files changed, 75 insertions, 0 deletions
diff --git a/test/data/config_1.txt b/test/data/config_1.txt
new file mode 100644
index 000000000..b19a213b3
--- /dev/null
+++ b/test/data/config_1.txt
@@ -0,0 +1,26 @@
+# Test config file (new format)
+
+[general]
+
+source-link: on
+datestamp: %Y-%m-%d %H:%M UTC
+generator: true
+
+
+[restructuredtext parser]
+
+trim-footnote-reference-space: 1
+tab-width = 8
+
+
+[html4css1 writer]
+
+stylesheet-path: stylesheets/default.css
+
+
+[pep_html writer]
+
+template: pep-html-template
+stylesheet-path: stylesheets/pep.css
+python-home: http://www.python.org
+no-random: yes
diff --git a/test/data/config_2.txt b/test/data/config_2.txt
new file mode 100644
index 000000000..35c307c6c
--- /dev/null
+++ b/test/data/config_2.txt
@@ -0,0 +1,11 @@
+# Test config file (new format)
+
+[general]
+
+generator: no
+
+
+[html4css1 writer]
+
+footnote-references: superscript
+stylesheet-path: test.css
diff --git a/test/data/config_error_handler.txt b/test/data/config_error_handler.txt
new file mode 100644
index 000000000..82e341649
--- /dev/null
+++ b/test/data/config_error_handler.txt
@@ -0,0 +1,2 @@
+[general]
+error_encoding: ascii:strict
diff --git a/test/data/config_list.txt b/test/data/config_list.txt
new file mode 100644
index 000000000..fde6793c9
--- /dev/null
+++ b/test/data/config_list.txt
@@ -0,0 +1,8 @@
+[general]
+expose_internals: a
+
+[html4css1 writer]
+expose_internals: b:c:d
+
+[pep_html writer]
+expose_internals: e
diff --git a/test/data/config_list_2.txt b/test/data/config_list_2.txt
new file mode 100644
index 000000000..6f8d69f07
--- /dev/null
+++ b/test/data/config_list_2.txt
@@ -0,0 +1,2 @@
+[general]
+expose_internals: f
diff --git a/test/data/config_old.txt b/test/data/config_old.txt
new file mode 100644
index 000000000..fa07d6dab
--- /dev/null
+++ b/test/data/config_old.txt
@@ -0,0 +1,14 @@
+# Test config file (old format)
+
+[options]
+
+source-link: 1
+datestamp: %Y-%m-%d %H:%M UTC
+generator: 1
+
+stylesheet-path: stylesheets/default.css
+
+pep-template: pep-html-template
+pep-stylesheet-path: stylesheets/pep.css
+python-home: http://www.python.org
+no-random: 1
diff --git a/test/data/csv_data.txt b/test/data/csv_data.txt
new file mode 100644
index 000000000..f33f47f7f
--- /dev/null
+++ b/test/data/csv_data.txt
@@ -0,0 +1 @@
+foo, bar
diff --git a/test/data/csv_dep.txt b/test/data/csv_dep.txt
new file mode 100644
index 000000000..14620a926
--- /dev/null
+++ b/test/data/csv_dep.txt
@@ -0,0 +1,2 @@
+.. csv-table::
+ :file: csv_data.txt
diff --git a/test/data/dependencies.txt b/test/data/dependencies.txt
new file mode 100644
index 000000000..cc18c8f0c
--- /dev/null
+++ b/test/data/dependencies.txt
@@ -0,0 +1,8 @@
+.. image:: some_image.png
+
+.. include:: include.txt
+
+.. raw:: HTML
+ :file: raw.txt
+
+.. include:: include.txt
diff --git a/test/data/include.txt b/test/data/include.txt
new file mode 100644
index 000000000..ae2a894bb
--- /dev/null
+++ b/test/data/include.txt
@@ -0,0 +1 @@
+Some include text.
diff --git a/test/data/raw.txt b/test/data/raw.txt
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/test/data/raw.txt
diff --git a/test/data/stylesheet.txt b/test/data/stylesheet.txt
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/test/data/stylesheet.txt