Skip to content

Commit

Permalink
improves test and removes coverage ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
huettenhain committed Nov 26, 2023
1 parent 8821838 commit be62ca3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
1 change: 0 additions & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@ exclude_also =
except KeyboardInterrupt
except ArgparseError
except Exception
class __pdoc__
raise NotImplementedError
yappi
9 changes: 6 additions & 3 deletions test/units/test_misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,12 @@ def test_loader_imports(self):

def test_pdoc(self):
import refinery
refinery.__pdoc__._load()
self.assertIn('hex', refinery.__pdoc__)
self.assertIn('b64', refinery.__pdoc__)
pd = refinery.__pdoc__
pd._load()
self.assertIn('hex', pd)
self.assertIn('b64', pd)
self.assertIn('--verbose', pd['hex'])
self.assertIn('--devnull', pd['hex'])


class TestSimpleInvertible(TestUnitBase):
Expand Down

0 comments on commit be62ca3

Please sign in to comment.