File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ def test_mqtt_config_values(self):
42
42
self .app .config ['MQTT_BROKER_URL' ] = 'broker_url'
43
43
self .app .config ['MQTT_BROKER_PORT' ] = 'broker_port'
44
44
self .app .config ['MQTT_TLS_ENABLED' ] = 'tls_enabled'
45
- self .app .config ['MQTT_CLEAN_SESSION' ] = True
45
+ self .app .config ['MQTT_CLEAN_SESSION' ] = False
46
46
self .app .config ['MQTT_KEEPALIVE' ] = 'keepalive'
47
47
self .app .config ['MQTT_LAST_WILL_TOPIC' ] = 'home/lastwill'
48
48
self .app .config ['MQTT_LAST_WILL_MESSAGE' ] = 'last will'
@@ -63,7 +63,7 @@ def test_mqtt_config_values(self):
63
63
self .assertEqual ('broker_url' , mqtt .broker_url )
64
64
self .assertEqual ('broker_port' , mqtt .broker_port )
65
65
self .assertEqual ('tls_enabled' , mqtt .tls_enabled )
66
- self .assertEqual (True , mqtt .clean_session )
66
+ self .assertEqual (False , mqtt .clean_session )
67
67
self .assertEqual ('keepalive' , mqtt .keepalive )
68
68
self .assertEqual ('home/lastwill' , mqtt .last_will_topic )
69
69
self .assertEqual ('last will' , mqtt .last_will_message )
You can’t perform that action at this time.
0 commit comments