@pytest.mark.parametrize('parametrize', [True, False])
def test_class_name(suite, suite_test, test_type, parametrize):
    if parametrize:
        suite_test.add_parameter(num_values=3)
    summary = suite.run()
    for result in summary.get_all_results_for_test(suite_test):
        if (test_type == 'method'):
            assert result.test_metadata.class_name.startswith('Test')
            assert ('(' not in result.test_metadata.class_name)
        elif (test_type == 'function'):
            assert (result.test_metadata.class_name is None)
        else:
            raise NotImplementedError()
@pytest.mark.parametrize('parametrize', [True, False])
def test_class_name(suite, suite_test, test_type, parametrize):
    if parametrize:
        suite_test.add_parameter(num_values=3)
    summary = suite.run()
    for result in summary.get_all_results_for_test(suite_test):
        if (test_type == 'method'):
            assert result.test_metadata.class_name.startswith('Test')
            assert ('(' not in result.test_metadata.class_name)
        elif (test_type == 'function'):
            assert (result.test_metadata.class_name is None)
        else:
            raise NotImplementedError()