Files
status-go/test/functional/tests/test_get_random_mnemonic.py
Igor Sirotin b7ba8e52d6 refactor: move test suites under test/
tests-functional/    -> test/functional/
  tests-unit-network/  -> test/unit-network/

No Go code changes beyond the two package paths. Every reference follows:
Makefile targets, the pytest-lint and reliability workflows, the three
Jenkinsfiles, the root Dockerfile, pyrightconfig.json, .gitignore, the
benchmark and functional-test scripts, and the docs.

All paths inside the moved directories are self-contained (docker compose
uses `context: .`, the Python helpers resolve from __file__), so the extra
level of nesting does not reach outside.

refs #7067
2026-08-20 20:59:45 +02:00

14 lines
376 B
Python

import pytest
@pytest.mark.rpc
class TestGetRandomMnemonic:
@pytest.fixture()
def backend(self, backend_new_profile):
return backend_new_profile("rpc-client-backend")
def test_get_random_mnemonic(self, backend):
result = backend.accounts_service.get_random_mnemonic()
assert len(result.split()) == 12 # basic check for mnemonic length