@@ -699,36 +699,6 @@ def test_sphinx_configuration_default(
699
699
append_conf .assert_called_once ()
700
700
move .assert_called_once ()
701
701
702
- @pytest .mark .skip
703
- @patch ('readthedocs.doc_builder.backends.sphinx.BaseSphinx.move' )
704
- @patch ('readthedocs.doc_builder.backends.sphinx.BaseSphinx.append_conf' )
705
- @patch ('readthedocs.doc_builder.backends.sphinx.BaseSphinx.run' )
706
- def test_sphinx_configuration_default (
707
- self , run , append_conf , move , checkout_path , tmpdir ):
708
- """Should be default to find a conf.py file."""
709
- checkout_path .return_value = str (tmpdir )
710
-
711
- apply_fs (tmpdir , {'conf.py' : '' })
712
- self .create_config_file (tmpdir , {})
713
- self .project .conf_py_file = ''
714
- self .project .save ()
715
-
716
- update_docs = self .get_update_docs_task ()
717
- config = update_docs .config
718
- python_env = Virtualenv (
719
- version = self .version ,
720
- build_env = update_docs .build_env ,
721
- config = config
722
- )
723
- update_docs .python_env = python_env
724
-
725
- update_docs .build_docs_html ()
726
-
727
- args , kwargs = run .call_args
728
- assert kwargs ['cwd' ] == str (tmpdir )
729
- append_conf .assert_called_once ()
730
- move .assert_called_once ()
731
-
732
702
@patch ('readthedocs.doc_builder.backends.sphinx.BaseSphinx.move' )
733
703
@patch ('readthedocs.doc_builder.backends.sphinx.BaseSphinx.append_conf' )
734
704
@patch ('readthedocs.doc_builder.backends.sphinx.BaseSphinx.run' )
@@ -766,6 +736,7 @@ def test_sphinx_configuration(
766
736
append_conf .assert_called_once ()
767
737
move .assert_called_once ()
768
738
739
+ @pytest .mark .skip
769
740
@patch ('readthedocs.doc_builder.backends.sphinx.BaseSphinx.move' )
770
741
@patch ('readthedocs.doc_builder.backends.sphinx.BaseSphinx.append_conf' )
771
742
@patch ('readthedocs.doc_builder.backends.sphinx.BaseSphinx.run' )
0 commit comments