Skip to content

Commit

Permalink
Add tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
EarningsCall committed Nov 24, 2024
1 parent 5be55c8 commit 8d1737c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/test_errors.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
from earningscall.errors import InsufficientApiAccessError


def test_errors():
##
error = InsufficientApiAccessError("You don't have access")
##
assert error.msg == "You don't have access"
assert str(error) == "You don't have access"

0 comments on commit 8d1737c

Please sign in to comment.