Added missing tests for peripheral

Not part of the ticket, but I'm boyscouting this.
This commit is contained in:
Jaime van Kessel 2019-08-22 14:24:19 +02:00
parent 73c6676673
commit 34c3a04744
2 changed files with 23 additions and 1 deletions

View file

@ -304,7 +304,7 @@ class PrinterOutputModel(QObject):
@pyqtProperty(str, notify = peripheralsChanged)
def peripherals(self) -> str:
return ", ".join(*[peripheral.name for peripheral in self._peripherals])
return ", ".join([peripheral.name for peripheral in self._peripherals])
def addPeripheral(self, peripheral: Peripheral) -> None:
self._peripherals.append(peripheral)