trobert2/cloudbase-init — pull request #1 by alexpilotti (2013-07-16 00:14:25+00:00)
Title: Update test_http.py

Did you notice the _exec_with_retry in the base class? That's why you were getting the unexpected mox call.

Second. Why were you expecting an exception? We catch the 409s for returning False.

Please add a test_post_password_with_exception method. Same stuff, but this time return a 404 and trap the exception.