#NEWLINE# def test_activate_doesnt_change_signature( ) : #NEWLINE# #INDENT# def test_function( a , b = None ) : #NEWLINE# #INDENT# return ( a , b ) #NEWLINE# #UNINDENT# decorated_test_function = responses . activate ( decorated_test_function ) #NEWLINE# assert ( getargspec ( test_function ) == getargspec ( decorated_test_function ) ) #NEWLINE# assert ( decorated_test_function ( 1 , 2 ) == test_function ( 1 , 2 ) ) #NEWLINE# assert ( decorated_test_function ( 3 ) == test_function ( 3 ) )