Skip to content

Commit 75151cb

Browse files
edenhausamotl
authored andcommitted
fix return tuple of run
1 parent 492ceef commit 75151cb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pytest_mqtt/mosquitto.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
class Mosquitto(BaseImage):
3737

3838
name = "mosquitto"
39+
port = 1883
3940

4041
def check(self):
4142
# TODO: Add real implementation.
@@ -55,7 +56,7 @@ def pull_image(self):
5556

5657
def run(self):
5758
self.pull_image()
58-
super(Mosquitto, self).run()
59+
return super(Mosquitto, self).run()
5960

6061

6162
mosquitto_image = Mosquitto()

0 commit comments

Comments
 (0)