def create_test_yaml():
  file_loc = FILE_LOC
  config = \
"""
queue:
- name: default
  rate: 5/s
- name: foo
  rate: 10/m
"""
  try:
    os.mkdir("/var/apps/test_app")
    os.mkdir("/var/apps/test_app/app/")
  except __HOLE__:
    pass
  FILE = file_io.write(file_loc, config)

# AppScale must already be running with RabbitMQ
dataset/ETHPy150Open AppScale/appscale/AppTaskQueue/test/functional/test_tq_startworker.py/create_test_yaml