mirror of
https://github.com/vale981/releases
synced 2025-03-06 02:01:41 -05:00
Test for distinct filename/title use case.
Confirmed fails when the fix is reverted.
This commit is contained in:
parent
25819952d1
commit
ea3b72181d
3 changed files with 19 additions and 1 deletions
6
tests/_support/custom_different/index.rst
Normal file
6
tests/_support/custom_different/index.rst
Normal file
|
@ -0,0 +1,6 @@
|
|||
====
|
||||
Test
|
||||
====
|
||||
|
||||
.. toctree::
|
||||
notachangelog
|
7
tests/_support/custom_different/notachangelog.rst
Normal file
7
tests/_support/custom_different/notachangelog.rst
Normal file
|
@ -0,0 +1,7 @@
|
|||
=========
|
||||
Changelog
|
||||
=========
|
||||
|
||||
* :release:`1.0.1 <2014-01-02>`
|
||||
* :bug:`1` Fix a bug.
|
||||
* :release:`1.0.0 <2014-01-01>`
|
|
@ -55,7 +55,12 @@ class integration(Spec):
|
|||
|
||||
def customized_filename_with_different_title(self):
|
||||
# Changelog named not 'changelog', title distinct
|
||||
skip()
|
||||
# NOTE: the difference here is in the fixture!
|
||||
self._assert_worked(
|
||||
folder='custom_different',
|
||||
opts={'releases_document_name': 'notachangelog'},
|
||||
target='notachangelog',
|
||||
)
|
||||
|
||||
def customized_filename_with_other_files(self):
|
||||
# Same as above but w/ other files in toctree
|
||||
|
|
Loading…
Add table
Reference in a new issue