File: test_exceptions.py

package info (click to toggle)
kombu 5.6.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,968 kB
  • sloc: python: 28,815; makefile: 318
file content (11 lines) | stat: -rw-r--r-- 229 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
from __future__ import annotations

from unittest.mock import Mock

from kombu.exceptions import HttpError


class test_HttpError:

    def test_str(self) -> None:
        assert str(HttpError(200, 'msg', Mock(name='response')))