def test_test_index(suite):
    index = None
    session = suite.run().session
    for (index, result) in enumerate(session.results):
        assert (result.test_metadata.test_index0 == index)
        assert (result.test_metadata.test_index1 == (index + 1))
    assert (index > 0)
def test_test_index(suite):
    index = None
    session = suite.run().session
    for (index, result) in enumerate(session.results):
        assert (result.test_metadata.test_index0 == index)
        assert (result.test_metadata.test_index1 == (index + 1))
    assert (index > 0)