#NEWLINE# def test_sorted_releases( self ) : #NEWLINE# #INDENT# from pyshop.models import Package #NEWLINE# pkg = Package . by_name ( self . session , 'mirrored_package1' ) #NEWLINE# self . assertEqual ( [ pkg . version for release in pkg . sorted_releases ] , [ '0.2' , '0.1' ] )