Skip to content

Commit

Permalink
coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
glyph committed Aug 11, 2024
1 parent 923ed43 commit b4b3424
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/klein/test/test_attrs_zope.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,7 @@ def test_yes(self) -> None:
def test_no(self) -> None:
with self.assertRaises(TypeError):
WhateverContainer(NoWhatever())

def test_repr(self) -> None:
self.assertIn("provides validator for", repr(provides(IWhatever)))
self.assertIn("IWhatever", repr(provides(IWhatever)))

0 comments on commit b4b3424

Please sign in to comment.