def assert_aws_environ():
 try:
  import boto
 except ImportError as e:
  raise SkipTest(str(e))
 if ('AWS_ACCESS_KEY_ID' not in os.environ):
  raise SkipTest('AWS keys not found')

def assert_aws_environ ( ) : try : import boto except ImportError as e : raise SkipTest ( str ( e ) ) if ( 'AWS_ACCESS_KEY_ID' not in os . environ ) : raise SkipTest ( 'AWS keys not found' )
asserts the current environment is suitable for running aws testsi .