from typing import Tuple


def expand_class_ref(cls_ref: str) -> Tuple[str, str]:
    """
    >>> expand_class_ref('test.test.Test')
    ('test.test', 'Test')
    """
    parts = cls_ref.rpartition(".")
    return parts[0], parts[-1]