pulp/kombu — pull request #14 by bmbouter (2014-07-27 16:31:23+00:00)
Title: US2845 - Rewrite test_qpid to mock qpid and qpidtoollibs

https://rally1.rallydev.com/#/7675694122d/detail/userstory/19878926034

This story removes the qpid and qpidtoollibs 3rd party dependencies on tests contained in test_qpid. This will allow the tests to be accepted upstream into celery/kombu. This PR does 2 things.

1. The test in test_qpid.py are rewritten.
2. The monkey patches that were in qpid.py have been moved to qpid_patches.py. This is in preparation for removing them altogether. The monkey patch imports had to be done in specific ways, and also imported things necessary for normal qpid.py operation as a side effect. I moved them because they are going to be moved soon, and if this was not done now the test code would need to be rewritten again later.