File: test_errors.py

package info (click to toggle)
python-exchangelib 5.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,364 kB
  • sloc: python: 25,367; sh: 6; makefile: 5
file content (9 lines) | stat: -rw-r--r-- 209 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
from exchangelib.errors import EWSError

from .common import TimedTestCase


class ErrorTest(TimedTestCase):
    def test_hash(self):
        e = EWSError("foo")
        self.assertEqual(hash(e), hash("foo"))