def test_create_scenario_option_for_doc(self):
     scen = Scenario({'cs': None,
                           'instances': [[1], [2]],
                           'run_obj': 'quality'})
     path = 'test/test_files/test_scenario_options_to_doc.txt'
     scen = scen.write_options_to_doc(path)
     self.assertTrue(os.path.exists(path))
Example #2
0
#man_show_urls = False

# -- Options for Texinfo output -------------------------------------------

# Grouping the document tree into Texinfo files. List of tuples
# (source start file, target name, title, author,
#  dir menu entry, description, category)
texinfo_documents = [
    (master_doc, 'SMAC3', u'SMAC3 Documentation', author, 'SMAC3',
     'One line description of project.', 'Miscellaneous'),
]

# Documents to append as an appendix to all manuals.
#texinfo_appendices = []

# If false, no module index is generated.
#texinfo_domain_indices = True

# How to display URL addresses: 'footnote', 'no', or 'inline'.
#texinfo_show_urls = 'footnote'

# If true, do not generate a @detailmenu in the "Top" node's menu.
#texinfo_no_detailmenu = False

# Show init as well as moduledoc
autoclass_content = 'both'

# Create Scenario-object to update the list of options in the docs
scenario = Scenario({'run_obj': 'runtime', 'cutoff_time': 1, 'output_dir': ''})
scenario.write_options_to_doc()