Mercurial > p > roundup > code
comparison test/test_security.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 | 64b05e24dbd8 |
| children | f8893e1cde0d |
comparison
equal
deleted
inserted
replaced
| 5387:f7432fc3db4d | 5388:d26921b851c3 |
|---|---|
| 21 from __future__ import print_function | 21 from __future__ import print_function |
| 22 import os, unittest, shutil | 22 import os, unittest, shutil |
| 23 | 23 |
| 24 from roundup import backends | 24 from roundup import backends |
| 25 import roundup.password | 25 import roundup.password |
| 26 from db_test_base import setupSchema, MyTestCase, config | 26 from .db_test_base import setupSchema, MyTestCase, config |
| 27 | 27 |
| 28 | 28 |
| 29 class PermissionTest(MyTestCase, unittest.TestCase): | 29 class PermissionTest(MyTestCase, unittest.TestCase): |
| 30 def setUp(self): | 30 def setUp(self): |
| 31 backend = backends.get_backend('anydbm') | 31 backend = backends.get_backend('anydbm') |
