2ce29092f5
CI / security (push) Successful in 33s
CI / unit_tests (push) Successful in 42s
CI / coverage (push) Successful in 46s
CI / typecheck (push) Successful in 1m1s
CI / lint (push) Successful in 1m1s
CI / dead_code (push) Successful in 1m5s
CI / build (push) Successful in 27s
This code adds documentation of a sample actor. ISSUES CLOSED: #1 Reviewed-on: #3 Reviewed-by: Luis Mendes <luis.mendes@cleverthis.com>
18 lines
425 B
Python
18 lines
425 B
Python
"""Behave environment for the cleveractors-core test suite.
|
|
|
|
Imports nothing fancy — the library is pure-Python, no DB/HTTP setup
|
|
needed before tests run.
|
|
"""
|
|
|
|
from __future__ import annotations
|
|
|
|
from typing import Any
|
|
|
|
|
|
def before_all(context: Any) -> None:
|
|
"""Hook invoked once before any features run."""
|
|
|
|
|
|
def before_scenario(context: Any, scenario: Any) -> None:
|
|
"""Per-scenario reset of any context state."""
|