<s> from nova import exception <EOL> from nova import test <EOL> from nova import utils <EOL> from nova import version <EOL> class VersionTestCase ( test . TestCase ) : <EOL> """<STR_LIT>""" <EOL> def setUp ( self ) : <EOL> """<STR_LIT>""" <EOL> super ( VersionTestCase , self ) . setUp ( ) <EOL> self . version = version <EOL> self . version . FINAL = False <EOL> self . version . NOVA_VERSION = [ '<STR_LIT>' , '<STR_LIT>' ] <EOL> self . version . YEAR , self . version . COUNT = self . version . NOVA_VERSION <EOL> self . version . version_info = { '<STR_LIT>' : u'<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : <NUM_LIT:0> } <EOL> def test_version_string_is_good ( self ) : <EOL> """<STR_LIT>""" <EOL> self . assertEqual ( "<STR_LIT>" , self . version . version_string ( ) ) <EOL> def test_canonical_version_string_is_good ( self ) : <EOL> """<STR_LIT>""" <EOL> self . assertEqual ( "<STR_LIT>" , self . version . canonical_version_string ( ) ) <EOL> def test_final_version_strings_are_identical ( self ) : <EOL> """<STR_LIT>""" <EOL> self . assertNotEqual ( self . version . canonical_version_string ( ) , <EOL> self . version . version_string ( ) ) <EOL> self . version . FINAL = True <EOL> self . assertEqual ( self . version . canonical_version_string ( ) , <EOL> self . version . version_string ( ) ) <EOL> def test_vcs_version_string_is_good ( self ) : <EOL> """<STR_LIT>""" <EOL> self . assertEqual ( "<STR_LIT>" , <EOL> self . version . vcs_version_string ( ) ) <EOL> def test_version_string_with_vcs_is_good ( self ) : <EOL> """<STR_LIT>""" <EOL> self . assertEqual ( "<STR_LIT>" , <EOL> self . version . version_string_with_vcs ( ) ) </s>
