def test_ddt(): """ Test the ``ddt`` class decorator """ tests = len(list(filter(_is_test, Dummy.__dict__))) assert_equal(tests, 4)