'Assert than an HTTP method was called anytime in the test.
:param method: HTTP method name which is expected to be called
:param url: Expected request url to be called with given method
:param body: Expected request body to be called with given method
and url. Default is None.
Usage::
self.run_command(\'flavor-list --extra-specs\')
self.assert_called_anytime(\'GET\', \'/flavors/detail\')'

def assert_called_anytime(self, method, url, body=None):

    expected = (method, url)
    assert self.client.callstack, ('Expected    %s    %s    but    no    calls    were    made.' % expected)
    found = False
    for entry in self.client.callstack:
        if (expected == entry[0:2]):
            found = True
            break
    assert found, ('Expected    %s;    got    %s' % (expected, self.client.callstack))
    if (body is not None):
        try:
            assert (entry[2] == body)
        except AssertionError:
            print entry[2]
            print '!='
            print body
            raise
    self.client.callstack = []
