def test_count_flows(self):
    utils.execute(['ovs-ofctl', 'dump-flows', self.BR_NAME], root_helper=self.root_helper).AndReturn('ignore\nflow-1\n')
    self.mox.ReplayAll()
    self.assertEqual(self.br.count_flows(), 1)
    self.mox.VerifyAll()
def test_count_flows(self):
    utils.execute(['ovs-ofctl', 'dump-flows', self.BR_NAME], root_helper=self.root_helper).AndReturn('ignore\nflow-1\n')
    self.mox.ReplayAll()
    self.assertEqual(self.br.count_flows(), 1)
    self.mox.VerifyAll()