def test_classmethod_basic(namespaceable, namespace):
    """Test using a classmethod in a Namespace."""
    class Test(namespaceable):
        """A throwaway test class, for testing classmethods."""
        with namespace() as namespace_:
            @classmethod
            def cls_mthd(cls):
                """Return that a call occurred."""
                return 'called'

    assert Test.namespace_.cls_mthd() == 'called'
    assert Test().namespace_.cls_mthd() == 'called'