#NEWLINE# def test_get_show_ok( self ) : #NEWLINE# #INDENT# from pyshop.views.simple import Show #NEWLINE# view = Show ( self . create_request ( matchdict = { #NEWLINE# #INDENT# 'package_name' : 'mirrored_package1' , #NEWLINE# #UNINDENT# } ) ) ( ) #NEWLINE# self . assertEqual ( set ( view . keys ( ) ) , set ( [ 'pyshop' , 'package' , 'whlify' ] ) ) #NEWLINE# self . assertEqual ( view [ 'package' ] . name , 'mirrored_package1' )