merge config, pluginmanager, main into one file

--HG--
branch : trunk
This commit is contained in:
holger krekel
2010-10-12 12:54:32 +02:00
parent 6efc6dcb62
commit 6631447161
14 changed files with 415 additions and 444 deletions

View File

@@ -1,5 +1,5 @@
import py
from pytest import _config as parseopt
from pytest import main as parseopt
class TestParser:
def test_init(self, capsys):
@@ -42,7 +42,7 @@ class TestParser:
group = parseopt.OptionGroup("hello")
group.addoption("--option1", action="store_true")
assert len(group.options) == 1
assert isinstance(group.options[0], parseopt.optparse.Option)
assert isinstance(group.options[0], py.std.optparse.Option)
def test_group_shortopt_lowercase(self):
parser = parseopt.Parser()