PageRenderTime 4ms CodeModel.GetById 2ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/tests/net/test_imports.py

https://bitbucket.org/prologic/circuits/
Python | 10 lines | 7 code | 2 blank | 1 comment | 0 complexity | 0860647f3aacbe35e5ff29a2995cbf53 MD5 | raw file
 1#!/usr/bin/env python
 2
 3from circuits.core.components import BaseComponent
 4
 5def test():
 6    try:
 7        from circuits.net.pollers import BasePoller
 8        assert issubclass(BasePoller, BaseComponent)
 9    except ImportError:
10        assert False