コード例 #1
0
    def test_should_execute_command_regardless_of_verbose(self, exec_command):
        self.project.set_property("verbose", True)
        self.project.set_property("dir_target", "spam")
        initialize_sphinx_plugin(self.project)

        run_sphinx_build(["foo"], "bar", Mock(), self.project)
        self.assertEquals(exec_command.call_count, 1)
コード例 #2
0
    def test_should_execute_command_regardless_of_verbose(self, exec_command):
        self.project.set_property("verbose", True)
        self.project.set_property("dir_target", "spam")
        initialize_sphinx_plugin(self.project)

        run_sphinx_build("foo", "bar", Mock(), self.project)
        self.assertEquals(exec_command.call_count, 1)