Dan Talayco | 2e1a107 | 2010-02-15 14:15:19 -0800 | [diff] [blame] | 1 | '''Docstring to silence pylint; ignores --ignore option for __init__.py''' |
Rich Lane | 6242d9f | 2013-01-06 17:35:39 -0800 | [diff] [blame] | 2 | import sys |
Rich Lane | 477f481 | 2012-10-04 22:49:00 -0700 | [diff] [blame] | 3 | |
| 4 | # Global config dictionary |
| 5 | # Populated by oft. |
| 6 | config = {} |
Rich Lane | 2c7812c | 2012-12-27 17:52:23 -0800 | [diff] [blame] | 7 | |
| 8 | # Global DataPlane instance used by all tests. |
| 9 | # Populated by oft. |
| 10 | dataplane_instance = None |
Rich Lane | 6242d9f | 2013-01-06 17:35:39 -0800 | [diff] [blame] | 11 | |
| 12 | # Alias of10 modules into oftest namespace for backwards compatbility |
| 13 | import of10 |
| 14 | from of10 import * |
| 15 | for modname in of10.__all__: |
| 16 | sys.modules["oftest." + modname] = sys.modules["of10." + modname] |