Ticket #6515 defect new
twisted.python.reflect.objgrep test coverage is incomplete
|Reported by:||rwall||Owned by:|
In #6362 Thijs noted that objgrep(showUnknown) is not covered by any tests.
There are also various objgrep convenience functions which are untested eg modgrep
As it stands, it's difficult to trigger the showUnknowns branch - you'd need to find some object type that is not already handled.
I thought about adding a special type which would never be recognised and which could be passed in for testing purposes.