diff options
author | brian-lamar <brian.lamar@gmail.com> | 2011-02-09 13:30:40 -0500 |
---|---|---|
committer | brian-lamar <brian.lamar@gmail.com> | 2011-02-09 13:30:40 -0500 |
commit | 6e881239c9b8a1fb209868addf1a2b83042f2128 (patch) | |
tree | 58b3136b1c44207d6b8de6da672de8c6d0f4b048 /nova/exception.py | |
parent | 7c78d71eba66b64f2a2cac0309dcd01f2acf8b4d (diff) | |
download | nova-6e881239c9b8a1fb209868addf1a2b83042f2128.tar.gz nova-6e881239c9b8a1fb209868addf1a2b83042f2128.tar.xz nova-6e881239c9b8a1fb209868addf1a2b83042f2128.zip |
1) Moved tests for limiter to test_common.py (from __init__.py) and expanded
test suite to include bad inputs and tests for custom limits (#2)
2) Wrapped int() calls in blocks to ensure logic regardless of input.
3) Moved 1000 hard limit hard-coding to a keyword param.
4) Added comments as I went.
Diffstat (limited to 'nova/exception.py')
0 files changed, 0 insertions, 0 deletions