def test_should_generate_sphinx_quickstart_command_with_project_properties(self): self.project.set_property("sphinx_doc_author", "bar") self.project.set_property("sphinx_project_name", "foo") self.project.set_property("sphinx_project_version", "3") self.project.set_property("sphinx_source_dir", "docs/") sphinx_quickstart_command = get_sphinx_quickstart_command(self.project) self.assertEqual(sphinx_quickstart_command, ["sphinx.quickstart", "-q", "-p", "foo", "-a", "bar", "-v", "3", "basedir/docs/"])
def test_should_generate_sphinx_quickstart_command_with_project_properties(self): self.project.set_property("sphinx_doc_author", "bar") self.project.set_property("sphinx_project_name", "foo") self.project.set_property("sphinx_project_version", "3") self.project.set_property("sphinx_source_dir", "docs/") sphinx_quickstart_command = get_sphinx_quickstart_command(self.project) self.assertEqual(sphinx_quickstart_command, "sphinx-quickstart -q -p 'foo' -a 'bar' -v 3 basedir/docs/")
def test_should_generate_sphinx_quickstart_command_with_project_properties( self): self.project.set_property("sphinx_doc_author", "bar") self.project.set_property("sphinx_project_name", "foo") self.project.set_property("sphinx_project_version", "3") self.project.set_property("sphinx_source_dir", "docs/") sphinx_quickstart_command = get_sphinx_quickstart_command(self.project) self.assertEqual( sphinx_quickstart_command, "sphinx-quickstart -q -p 'foo' -a 'bar' -v 3 basedir/docs/")
def test_should_generate_sphinx_quickstart_command_with_project_properties( self): self.project.set_property("sphinx_doc_author", "bar") self.project.set_property("sphinx_project_name", "foo") self.project.set_property("sphinx_project_version", "3") self.project.set_property("sphinx_source_dir", "docs/") sphinx_quickstart_command = get_sphinx_quickstart_command(self.project) self.assertEqual(sphinx_quickstart_command, [ "sphinx.quickstart", "-q", "-p", "foo", "-a", "bar", "-v", "3", "basedir/docs/" ])