diff --git a/test/int/test_cli_connect.py b/test/int/test_cli_connect.py index f5d0ebc589a50b789534bdf65b67406e6051c872..c79e6fc2c1d11bd6b10fb6d5bf24cd1648257c8d 100644 --- a/test/int/test_cli_connect.py +++ b/test/int/test_cli_connect.py @@ -12,13 +12,8 @@ from dataclasses import dataclass @pytest.fixture def i1(cluster: Cluster) -> Instance: [i1] = cluster.deploy(instance_count=1) - i1.eval( - """ - box.session.su("admin") - box.schema.user.create('testuser', { password = 'testpass' }) - box.schema.user.grant('testuser', 'read,execute', 'universe') - """ - ) + acl = i1.sudo_sql("create user \"testuser\" with password 'testpass'") + assert acl["row_count"] == 1 return i1