Commit 55a229e5 authored by Yakubov, Sergey's avatar Yakubov, Sergey
Browse files

fix tests

parent 8ea5eba7
Loading
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -55,3 +55,11 @@ repos:
        entry: poetry run mypy .
        pass_filenames: false
        language: system
  - repo: local
    hooks:
      - id: system
        name: Unit tests
        description: use pytest to run unit tests
        entry: poetry run pytest tests/unit
        pass_filenames: false
        language: system
+0 −3
Original line number Diff line number Diff line
"""This module contains common definitions"""

from dataclasses import dataclass

from pydantic import BaseModel


@dataclass
class Response(BaseModel):
    """This is a model for REST API responses"""