'GET ``/configuration/leases`` returns all leases.'

def test_get(self):

    d = self.save_leases()
    d.addCallback((lambda _: self.assertResultItems(method='GET', path='/configuration/leases', request_body=None, expected_code=OK, expected_result=[self.expected_lease1, self.expected_lease2])))
    return d
