    def test_label_name2(self):
        """
        Check Label can be found by its containing Frame
        """
        # Now set up the Frame ready for testing
        screen = MagicMock(spec=Screen, colours=8, unicode_aware=False)
        scene = Scene([], duration=-1)
        canvas = Canvas(screen, 10, 40, 0, 0)
        form = _TestFrame6(canvas)
        scene.add_effect(form)
        scene.reset()

        # Check that the Label is found by its name
        # by confirming the label's value
        l = form.find_widget("tf6_lbl")
        self.assertEqual(l.text, "TstFrm6Lbl")
Check Label can be found by its containing Frame
tests/test_widgets.py