# Copyright 2020-2021 The Wazo Authors  (see the AUTHORS file)
# SPDX-License-Identifier: GPL-3.0-or-later

from wazo_test_helpers import until

from .helpers import base


@base.use_asset('base')
class TestStatusAllOK(base.APIIntegrationTest):
    def test_head_status_ok(self):
        def status_ok():
            self.client.status.check()

        until.assert_(status_ok, timeout=5)
