@@ -661,36 +661,6 @@ def test_sphinx_configuration_default(
661
661
append_conf .assert_called_once ()
662
662
move .assert_called_once ()
663
663
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
-
694
664
@pytest .mark .skip
695
665
@patch ('readthedocs.doc_builder.backends.sphinx.BaseSphinx.move' )
696
666
@patch ('readthedocs.doc_builder.backends.sphinx.BaseSphinx.append_conf' )
0 commit comments