#NEWLINE# def test_get_locals( self ) : #NEWLINE# #INDENT# from pyshop.models import Package #NEWLINE# pkges = Package . get_locals ( self . session ) #NEWLINE# self . assertIsInstance ( pkges , list ) #NEWLINE# pkges = [ pkg . name for pkg in pkges ] #NEWLINE# self . assertEqual ( pkges , [ 'local_package1' ] )