Assert Not Empty In Python A Namespace