Mercurial > p > roundup > code
comparison test/test_actions.py @ 5388:d26921b851c3
Python 3 preparation: make relative imports explicit.
Tool-generated patch.
| author | Joseph Myers <jsm@polyomino.org.uk> |
|---|---|
| date | Tue, 24 Jul 2018 22:22:08 +0000 |
| parents | 35ea9b1efc14 |
| children | 4f6e1ce89557 |
comparison
equal
deleted
inserted
replaced
| 5387:f7432fc3db4d | 5388:d26921b851c3 |
|---|---|
| 6 from roundup.date import Date, Interval | 6 from roundup.date import Date, Interval |
| 7 from roundup.cgi.actions import * | 7 from roundup.cgi.actions import * |
| 8 from roundup.cgi.client import add_message | 8 from roundup.cgi.client import add_message |
| 9 from roundup.cgi.exceptions import Redirect, Unauthorised, SeriousError, FormError | 9 from roundup.cgi.exceptions import Redirect, Unauthorised, SeriousError, FormError |
| 10 | 10 |
| 11 from mocknull import MockNull | 11 from .mocknull import MockNull |
| 12 | 12 |
| 13 def true(*args, **kwargs): | 13 def true(*args, **kwargs): |
| 14 return 1 | 14 return 1 |
| 15 | 15 |
| 16 class ActionTestCase(unittest.TestCase): | 16 class ActionTestCase(unittest.TestCase): |
