1) Add new `test_graphene` test module for expanded testing coverage; 2) Introduce `test_drf` module in `engine/blog` for improved API testing; Fixes: 1) Remove unnecessary `--extra testing` flag from Dockerfile to streamline dependencies; 2) Update `uv.lock` with newer versions of dependencies (`certifi`, `coverage`, `django-constance`) for enhanced security and functionality; Extra: 1) Remove deprecated packages (`bandit`, `cfgv`, `distlib`) from `uv.lock` for cleanup; 2) Adjust `uv.lock` content and formatting to be consistent with updated dependencies.
19 lines
353 B
Python
19 lines
353 B
Python
from typing import Any
|
|
|
|
|
|
class UnknownGatewayError(Exception):
|
|
pass
|
|
|
|
|
|
class BadLimitsError(Exception):
|
|
pass
|
|
|
|
|
|
class AbstractGateway:
|
|
@staticmethod
|
|
def process_transaction(transaction: Any) -> None:
|
|
raise NotImplementedError
|
|
|
|
@staticmethod
|
|
def process_callback(transaction: Any) -> None:
|
|
raise NotImplementedError
|