Core API is mostly made of healthcheck() function.
Make test a healthcheck and return it.
Basically sets is_healthcheck attribute to True.
Can be used as a function-decorator:
>>> @healthcheck
... def test_dummy():
... pass
>>> is_healthcheck(test_dummy)
True
Can be used as a class-decorator:
>>> import unittest
>>> @healthcheck
... class DummyTestCase(unittest.TestCase):
... pass
>>> is_healthcheck(DummyTestCase)
True
Can be used to modify instance:
>>> def test_noop():
... pass
>>> is_healthcheck(test_noop)
False
>>> healthcheck_noop = healthcheck(test_noop)
>>> is_healthcheck(healthcheck_noop)
True