def test_release(self): embed_video.VERSION = ('a', 'b', 'c', 'd') self.assertEqual('a.b.c', embed_video.get_release())
# The master toctree document. master_doc = 'index' # General information about the project. project = u'django-embed-video' copyright = u'2013, Juda Kaleta' # 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 = embed_video.get_version() # The full version, including alpha/beta/rc tags. release = embed_video.get_release() # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. #language = None todo_include_todos = True # 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 patterns, relative to source directory, that match files and # directories to ignore when looking for source files.