#NEWLINE# @ pytest . mark . parametrize ( ( 'status' , 'reason' ) , [ ( 200 , 'OK' ) , ( 201 , 'Created' ) , ( 303 , 'See Other' ) ] ) #NEWLINE# def test_HALNavigator__status( status , reason ) : #NEWLINE# #INDENT# with httprettify ( ) : #NEWLINE# #INDENT# index_uri = 'http://www.example.com/' #NEWLINE# register_hal ( index_uri , status = status ) #NEWLINE# N = HN . Navigator . hal ( index_uri ) #NEWLINE# N ( ) #NEWLINE# assert ( N . status == ( status , reason ) )