mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-07-24 15:38:22 +00:00
22 lines
330 B
Python
22 lines
330 B
Python
from abc import ABC, abstractmethod
|
|
|
|
|
|
class TestScenario(ABC):
|
|
"""Parent class for test scenarios."""
|
|
|
|
@abstractmethod
|
|
def setup(self):
|
|
pass
|
|
|
|
@abstractmethod
|
|
def run(self):
|
|
pass
|
|
|
|
@abstractmethod
|
|
def teardown(self):
|
|
pass
|
|
|
|
@abstractmethod
|
|
def log_data(self):
|
|
pass
|