def METHOD_NAME(self, test_or_test_index):
    test_index = test_or_test_index.__slash__.parallel_index if hasattr(test_or_test_index, '__slash__') else test_or_test_index
    assert isinstance(test_index, int)
    return test_index