'Fixture to initialize a CommandLineEdit.'

@pytest.fixture
def cmd_edit(self, qtbot):

    cmd_edit = miscwidgets.CommandLineEdit()
    cmd_edit.set_prompt(':')
    qtbot.add_widget(cmd_edit)
    assert (cmd_edit.text() == '')
    (yield cmd_edit)
