'Testing whether the API returns error 404 if no tunnel community is loaded'

@deferred(timeout=10)
def test_get_circuit_no_community(self):

    self.dispersy.get_communities = (lambda : [])
    return self.do_request('debug/circuits', expected_code=404)
