summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakayuki Shimizukawa <shimizukawa@gmail.com>2014-08-10 23:47:27 +0900
committerTakayuki Shimizukawa <shimizukawa@gmail.com>2014-08-10 23:47:27 +0900
commit1d65d9cdc600677002ed17e7f07b285dc2925f22 (patch)
tree775ebc30bf532e0b16ce19f7629cdb3278c4c335
parentd39327d5398a4fe55bb72c9b4dc13dad544cf9d0 (diff)
downloadsphinx-git-1d65d9cdc600677002ed17e7f07b285dc2925f22.tar.gz
rename test files
-rw-r--r--tests/roots/test-directive-only/conf.py2
-rw-r--r--tests/roots/test-directive-only/contents.rst (renamed from tests/roots/test-only-directive/contents.rst)2
-rw-r--r--tests/roots/test-directive-only/only.rst (renamed from tests/roots/test-only-directive/only.rst)0
-rw-r--r--tests/roots/test-only-directive/conf.py2
-rw-r--r--tests/test_directive_only.py (renamed from tests/test_only_directive.py)4
-rw-r--r--tests/test_domain_cpp.py (renamed from tests/test_cpp_domain.py)2
-rw-r--r--tests/test_domain_std.py (renamed from tests/test_std_domain.py)2
7 files changed, 7 insertions, 7 deletions
diff --git a/tests/roots/test-directive-only/conf.py b/tests/roots/test-directive-only/conf.py
new file mode 100644
index 000000000..eb3a3d0d2
--- /dev/null
+++ b/tests/roots/test-directive-only/conf.py
@@ -0,0 +1,2 @@
+
+project = 'test-directive-only'
diff --git a/tests/roots/test-only-directive/contents.rst b/tests/roots/test-directive-only/contents.rst
index 9a93be9e7..80ec00313 100644
--- a/tests/roots/test-only-directive/contents.rst
+++ b/tests/roots/test-directive-only/contents.rst
@@ -1,4 +1,4 @@
-test-only-directive
+test-directive-only
===================
.. toctree::
diff --git a/tests/roots/test-only-directive/only.rst b/tests/roots/test-directive-only/only.rst
index 4a3eb48a6..4a3eb48a6 100644
--- a/tests/roots/test-only-directive/only.rst
+++ b/tests/roots/test-directive-only/only.rst
diff --git a/tests/roots/test-only-directive/conf.py b/tests/roots/test-only-directive/conf.py
deleted file mode 100644
index bcb4305da..000000000
--- a/tests/roots/test-only-directive/conf.py
+++ /dev/null
@@ -1,2 +0,0 @@
-
-project = 'test-only-directive'
diff --git a/tests/test_only_directive.py b/tests/test_directive_only.py
index b580183cc..7fb1f5bb9 100644
--- a/tests/test_only_directive.py
+++ b/tests/test_directive_only.py
@@ -17,10 +17,10 @@ from util import with_app, test_roots
def teardown_module():
- (test_roots / 'test-only-directive' / '_build').rmtree(True)
+ (test_roots / 'test-directive-only' / '_build').rmtree(True)
-@with_app(buildername='text', srcdir=(test_roots / 'test-only-directive'))
+@with_app(buildername='text', srcdir=(test_roots / 'test-directive-only'))
def test_sectioning(app):
def getsects(section):
diff --git a/tests/test_cpp_domain.py b/tests/test_domain_cpp.py
index 38d167545..0b4219a52 100644
--- a/tests/test_cpp_domain.py
+++ b/tests/test_domain_cpp.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
"""
- test_cpp_domain
+ test_domain_cpp
~~~~~~~~~~~~~~~
Tests the C++ Domain
diff --git a/tests/test_std_domain.py b/tests/test_domain_std.py
index c93c5f522..81dbe6a4e 100644
--- a/tests/test_std_domain.py
+++ b/tests/test_domain_std.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
"""
- test_std_domain
+ test_domain_std
~~~~~~~~~~~~~~~
Tests the std domain