#NEWLINE# def test_version_matching( self ) : #NEWLINE# #INDENT# proxy = self . client . proxy ( 'foo' , version = '1.1' ) #NEWLINE# self . assertIn ( proxy . get_class_name ( ) , { 'Foo11' , 'Foo12' , 'Foo15' } ) #NEWLINE# proxy = self . client . proxy ( 'foo' , version = '1.2' ) #NEWLINE# self . assertIn ( proxy . get_class_name ( ) , { 'Foo12' , 'Foo15' } ) #NEWLINE# proxy = self . client . proxy ( 'foo' , version = '1.7' ) #NEWLINE# self . assertRaises ( NotConnected , proxy . get_class_name ) #NEWLINE# proxy = self . client . proxy ( 'foo' , version = '2.0' ) #NEWLINE# self . assertIn ( proxy . get_class_name ( ) , { 'Foo21' } ) #NEWLINE# proxy = self . client . proxy ( 'foo' , version = '2.5' ) #NEWLINE# self . assertRaises ( NotConnected , self . get_class_name ) #NEWLINE# proxy = self . client . proxy ( 'foo' , version = '4.0' ) #NEWLINE# self . assertIn ( proxy . get_class_name ( ) , { 'Foo33' } )