def test_key():
 def bad():
  return (ENTER == dict())
 assert_raises(ValueError, bad)
 assert_true((not (ENTER == None)))
 assert_equal('Return', ENTER)
 print ENTER.name
 print ENTER
 assert_equal(Key('1'), 49)

def test_key ( ) : def bad ( ) : return ( ENTER == dict ( ) ) assert_raises ( ValueError , bad ) assert_true ( ( not ( ENTER == None ) ) ) assert_equal ( 'Return' , ENTER ) print ENTER . name print ENTER assert_equal ( Key ( '1' ) , 49 )
test basic key functionality .