[py-svn] r37022 - py/branch/config/py/test/testing
hpk at codespeak.net
hpk at codespeak.net
Fri Jan 19 17:49:47 CET 2007
Author: hpk
Date: Fri Jan 19 17:49:44 2007
New Revision: 37022
Modified:
py/branch/config/py/test/testing/test_config.py
Log:
this test is not really needed because all single bits are tested
Modified: py/branch/config/py/test/testing/test_config.py
==============================================================================
--- py/branch/config/py/test/testing/test_config.py (original)
+++ py/branch/config/py/test/testing/test_config.py Fri Jan 19 17:49:44 2007
@@ -134,20 +134,6 @@
def setup_method(self, method):
self.tmpdir = self.tmproot.mkdir(method.__name__)
- def XXXtest_sessionclass_conftest_override(self):
- self.tmpdir.join("conftest.py").write(py.code.Source("""
- from py.__.test.session import Session as orig
- class Session(orig):
- x = 42
- """))
- config = py.test.config._reparse([self.tmpdir])
- cls = config._getsessionclass()
- assert cls.x == 42
- config.option.dist = True
- config.option.startserver = True
- cls = config._getsessionclass()
- assert cls.x == 42
-
def test_sessionname_default(self):
config = py.test.config._reparse([self.tmpdir])
assert config._getsessionname() == 'TerminalSession'
More information about the pytest-commit
mailing list