← Back to team overview

registry team mailing list archive

[Bug 612722] Re: stats-report doesn't do a good job of error reporting

 

You're right, there are no tests currently for that. Actually, there are
no tests for anything in the bin directory. Once we got around to
testing stuff like that, we put the code-to-test into a package in the
main swift dir and then just had the bin file call that code. If you
were to add tests I would go the same route and just be sure to use the
standard python unittest framework [copy one of the test/unit files and
modify away].

-- 
stats-report doesn't do a good job of error reporting
https://bugs.launchpad.net/bugs/612722
You received this bug notification because you are a member of Registry
Administrators, which is subscribed to OpenStack Object Storage (swift).



References