Remove LimitLineParser from test

As suggested by @The-Compiler, this is not really necessary
This commit is contained in:
Bruno Oliveira 2015-04-20 12:51:36 -03:00
parent f55242ad93
commit 69061c5629

View File

@ -37,17 +37,12 @@ class TestCommandLineEdit:
Fixture to initialize a CommandLineEdit and its dependencies,
cleaning up afterwards.
"""
command_history = lineparser.LimitLineParser('', '', limit=None)
objreg.register('command-history', command_history)
cmd_edit = CommandLineEdit(None)
cmd_edit.set_prompt(':')
qtbot.add_widget(cmd_edit)
assert cmd_edit.text() == ''
yield cmd_edit
objreg.delete('command-history')
@pytest.fixture
def mock_clipboard(self, mocker):
"""