pytest migration

This commit is contained in:
shimizukawa
2017-01-03 22:24:00 +09:00
parent 54c8c01222
commit 5b7d237db3
34 changed files with 797 additions and 1740 deletions

View File

@@ -85,7 +85,7 @@ def test_read_inventory_v2():
@with_app()
@mock.patch('sphinx.ext.intersphinx.read_inventory')
@mock.patch('sphinx.ext.intersphinx._read_from_url')
def test_fetch_inventory_redirection(app, status, warning, _read_from_url, read_inventory):
def test_fetch_inventory_redirection(_read_from_url, read_inventory, app, status, warning):
intersphinx_setup(app)
_read_from_url().readline.return_value = '# Sphinx inventory version 2'.encode('utf-8')