Mercurial > p > roundup > code
comparison test/test_actions.py @ 8409:c9bec888c3c8
refactor! move RateLimitExceeded to roundup.cgi.exceptions - test
forgot to commit the change to the test as well
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sun, 10 Aug 2025 22:04:03 -0400 |
| parents | 978285986b2c |
| children | 9c3ec0a5c7fc |
comparison
equal
deleted
inserted
replaced
| 8408:e882a5d52ae5 | 8409:c9bec888c3c8 |
|---|---|
| 3 | 3 |
| 4 from roundup import hyperdb | 4 from roundup import hyperdb |
| 5 from roundup.date import Date, Interval | 5 from roundup.date import Date, Interval |
| 6 from roundup.cgi.actions import * | 6 from roundup.cgi.actions import * |
| 7 from roundup.cgi.client import add_message | 7 from roundup.cgi.client import add_message |
| 8 from roundup.cgi.exceptions import Redirect, Unauthorised, SeriousError, FormError | 8 from roundup.cgi.exceptions import RateLimitExceeded, Redirect, Unauthorised, SeriousError, FormError |
| 9 from roundup.exceptions import RateLimitExceeded, Reject | 9 from roundup.exceptions import Reject |
| 10 | 10 |
| 11 from roundup.anypy.cgi_ import FieldStorage, MiniFieldStorage | 11 from roundup.anypy.cgi_ import FieldStorage, MiniFieldStorage |
| 12 from roundup.anypy.cmp_ import NoneAndDictComparable | 12 from roundup.anypy.cmp_ import NoneAndDictComparable |
| 13 from time import sleep | 13 from time import sleep |
| 14 from datetime import datetime | 14 from datetime import datetime |
