democritus-project / roadmap

The roadmap for the democritus project (for tracking ideas, projects, etc).
0 stars 0 forks source link

Expand conftest functionality to support making assertions about the type of an item #24

Open fhightower opened 3 years ago

fhightower commented 3 years ago

For example, if the conftest.py runs across something like this is a test: assert isinstance(result, 'fill')

I would like this to be changed to: assert isinstance(result, {type(result)})