fix typo Python test for QgsVectorLayer