Have any of the available python test mock frameworks been considered for pulp?
As we split the unit tests out so that they can be run quickly with few dependencies, a common mocking framework will be helpful. There's several options out there, pymox seems to be a popular choice and is being actively worked on (http://code.google.com/p/pymox/), and there are some helpful comparisons that have been done: http://code.google.com/p/pymox/wiki/MoxComparison http://garybernhardt.github.com/python-mock-comparison/ http://www.voidspace.org.uk/python/mock/compare.html One thing to consider would be that it looks like none of these packages are in RHEL, so when we run our tests on RHEL 5 and 6, we'd need to install these packages from somewhere like EPEL or Fedora. I'm not sure how feasible or what all that would entail. -- -- James Slagle -- _______________________________________________ Pulp-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/pulp-list
