ReleaseEngineering/Unit Tests For Bug 793989

From MozillaWiki
Jump to: navigation, search

These are the temporary manual unit tests to test the patch being made for bug 793989.

Run a test POST request with the following simple script http://zeller.pastebin.mozilla.org/4341766

  1. selfserve.new_build_for_builder requests an entry that is complete and accurate
    • Check the terminal that buildapi is running in and make sure that no errors threw
  2. selfserve-agent.do_new_build_for_builder is called and see's all info from selfserve.new_build_for_builder's mq entry
    • Check the terminal that selfserve-agent is running in and make sure no errors threw
  3. selfserve-agent.do_new_build_for_builder enters info into database correctly