#!/usr/bin/env python3
# Test whether a broker handles cleansession and local_cleansession correctly on bridges

from mosq_test_helper import *
from collections import namedtuple

mosq_test.require_features(["INC_BRIDGE_SUPPORT"])

(port_a_listen, port_b_listen) = mosq_test.get_port(2)
subprocess.run(['python3', f'{Path(__file__).resolve().parent}/06-bridge-clean-session-core.py', str(port_a_listen), str(port_b_listen), "True", "True"])

