[svn r58287] add a test for __version__ attr
--HG-- branch : trunk
This commit is contained in:
parent
634679a4db
commit
eebb9d7257
|
@ -3,6 +3,10 @@ from py.__.test.outcome import Failed
|
|||
from py.__.test.testing import suptest
|
||||
conftestpath = py.magic.autopath().dirpath("conftest.py")
|
||||
|
||||
def test_version():
|
||||
mod = conftestpath.pyimport()
|
||||
assert hasattr(mod, "__version__")
|
||||
|
||||
class TestTestCaseInstance(suptest.InlineSession):
|
||||
def setup_method(self, method):
|
||||
super(TestTestCaseInstance, self).setup_method(method)
|
||||
|
|
Loading…
Reference in New Issue