Skip to content

Commit 43c0b38

Browse files
committed
You should be repeated test
1 parent a96936d commit 43c0b38

File tree

1 file changed

+0
-30
lines changed

1 file changed

+0
-30
lines changed

readthedocs/rtd_tests/tests/test_config_integration.py

-30
Original file line numberDiff line numberDiff line change
@@ -661,36 +661,6 @@ def test_sphinx_configuration_default(
661661
append_conf.assert_called_once()
662662
move.assert_called_once()
663663

664-
@pytest.mark.skip
665-
@patch('readthedocs.doc_builder.backends.sphinx.BaseSphinx.move')
666-
@patch('readthedocs.doc_builder.backends.sphinx.BaseSphinx.append_conf')
667-
@patch('readthedocs.doc_builder.backends.sphinx.BaseSphinx.run')
668-
def test_sphinx_configuration_default(
669-
self, run, append_conf, move, checkout_path, tmpdir):
670-
"""Should be default to find a conf.py file."""
671-
checkout_path.return_value = str(tmpdir)
672-
673-
apply_fs(tmpdir, {'conf.py': ''})
674-
self.create_config_file(tmpdir, {})
675-
self.project.conf_py_file = ''
676-
self.project.save()
677-
678-
update_docs = self.get_update_docs_task()
679-
config = update_docs.config
680-
python_env = Virtualenv(
681-
version=self.version,
682-
build_env=update_docs.build_env,
683-
config=config
684-
)
685-
update_docs.python_env = python_env
686-
687-
update_docs.build_docs_html()
688-
689-
args, kwargs = run.call_args
690-
assert kwargs['cwd'] == str(tmpdir)
691-
append_conf.assert_called_once()
692-
move.assert_called_once()
693-
694664
@pytest.mark.skip
695665
@patch('readthedocs.doc_builder.backends.sphinx.BaseSphinx.move')
696666
@patch('readthedocs.doc_builder.backends.sphinx.BaseSphinx.append_conf')

0 commit comments

Comments
 (0)