Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_all_caps_regex():
"""Test - all capitals regex"""
from titlecase import ALL_CAPS
assert bool(ALL_CAPS.match('THIS IS ALL CAPS')) is True
def test_all_caps_regex():
"""Test - all capitals regex"""
from titlecase import ALL_CAPS
assert bool(ALL_CAPS.match('THIS IS ALL CAPS')) is True