old_contents: from PySide import QtGui
  
  import qmenuview
  
  
  def test_title(qtbot):
      title = 'Test title'
      qmenuview.MenuView(title)
      assert qmenuview.title() == title
  
  
  def test_parent(qtbot):
      p = QtGui.QWidget()
      qmenuview.MenuView(parent=p)
      assert qmenuview.parent() is p
  
new_contents: from PySide import QtGui
  
  import qmenuview
  
  
  def test_title(qtbot):
      title = 'Test title'
      mv = qmenuview.MenuView(title)
      assert mv.title() == title
  
  
  def test_parent(qtbot):
      p = QtGui.QWidget()
      mv = qmenuview.MenuView(parent=p)
      assert mv.parent() is p
  
subject: Fix test addressing object