def test_title_updates_with_second_data(self):
        l1 = self.add_layer_via_method(0)
        l2 = self.add_layer_via_method(1)
        expected = '%s | %s' % (l1.label, l2.label)
        self.widget.windowTitle() == expected
dataset/ETHPy150Open glue-viz/glue/glue/viewers/scatter/qt/tests/test_viewer_widget.py/TestScatterWidget.test_title_updates_with_second_data/original