def test_get_version(self): for version, result in TEST_VERSIONS: tddspry.VERSION = version self.assert_equal(tddspry.get_version(), result)
# The master toctree document. master_doc = 'index' # General information about the project. project = u'tddspry' copyright = u'2009, Igor Davydenko' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the # built documents. # # The short X.Y version. version = '%d.%d' % tddspry.VERSION[:2] # The full version, including alpha/beta/rc tags. release = tddspry.get_version() # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. #language = None # There are two options for replacing |today|: either, you set today to some # non-false value, then it is used: #today = '' # Else, today_fmt is used as the format for a strftime call. #today_fmt = '%B %d, %Y' # List of documents that shouldn't be included in the build. #unused_docs = [] # List of directories, relative to source directory, that shouldn't be searched