Files
status-go/test/functional/clients/push_notification_server.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

22 lines
631 B
Python

from clients.statusgo_container import PushNotificationServerContainer
class PushNotificationServer:
container = None
def __init__(self, gorush_port=8080):
self.gorush_port = gorush_port
self.container = PushNotificationServerContainer(
identity="3e64442a0ba8a59b4d2dc7385cd4533a10e86dd644e7ec549cb92503787f5282",
gorush_port=self.gorush_port,
)
self.data_dir = self.container.data_dir()
self.container.start_health_monitoring()
assert self.data_dir != ""
def shutdown(self):
if self.container:
self.container.shutdown()