Ejemplo n.º 1
0
    def test_flowdetail_delete(self):
        # Get the flowdetail to delete
        id = self.fd_ids.pop()
        fd = b_api.flowdetail_get(id)
        # Delete the flowdetail
        b_api.flowdetail_delete(fd)
        self.fd_names.pop()

        # Make sure it is not there anymore
        self.assertRaises(exception.NotFound, b_api.flowdetail_get,
                          id)
Ejemplo n.º 2
0
 def delete(self):
     b_api.flowdetail_delete(self)