23 lines
879 B
Python
23 lines
879 B
Python
import pytest
|
|
|
|
|
|
@pytest.mark.create_account
|
|
@pytest.mark.rpc
|
|
class TestInitialiseApp:
|
|
|
|
@pytest.mark.init
|
|
def test_init_app(self, init_status_backend):
|
|
# this test is going to fail on every call except first since status-backend will be already initialized
|
|
|
|
backend_client = init_status_backend
|
|
assert backend_client is not None
|
|
|
|
backend_client.verify_json_schema(
|
|
backend_client.wait_for_signal("mediaserver.started"), "signal_mediaserver_started")
|
|
backend_client.verify_json_schema(
|
|
backend_client.wait_for_signal("node.started"), "signal_node_started")
|
|
backend_client.verify_json_schema(
|
|
backend_client.wait_for_signal("node.ready"), "signal_node_ready")
|
|
backend_client.verify_json_schema(
|
|
backend_client.wait_for_signal("node.login"), "signal_node_login")
|