def test_writeAfterNoMoreExpected(self):
        self.enforcer.write(b'x' * 10)
        self.enforcer._noMoreWritesExpected()
        self.assertFalse(self.producer.stopped)
        self.assertRaises(ExcessWrite, self.enforcer.write, b'x')
        self.assertTrue(self.producer.stopped)
Create a bridge domain on VSM.
dataset/ETHPy150Open twisted/twisted/twisted/web/test/test_newclient.py/LengthEnforcingConsumerTests.test_writeAfterNoMoreExpected--crossover with--dataset/ETHPy150Open openstack/networking-cisco/networking_cisco/plugins/ml2/drivers/cisco/n1kv/n1kv_client.py/Client.create_bridge_domain