How to use titlecase - 10 common examples

To help you get started, we’ve selected a few titlecase examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ppannuto / python-titlecase / titlecase / tests.py View on Github external
def test_initials_regex_3():
    """Test - uppercase initials regex with ABCD"""
    from titlecase import UC_INITIALS
    assert bool(UC_INITIALS.match('ABCD')) is False
github ppannuto / python-titlecase / titlecase / tests.py View on Github external
def test_initials_regex_2():
    """Test - uppercase initials regex with A.B."""
    from titlecase import UC_INITIALS
    assert bool(UC_INITIALS.match('A.B.')) is True
github sjml / SimulatorGenerator / lib / titlecase / tests.py View on Github external
def test_initials_regex():
    """Test - uppercase initals regex with A.B"""
    from titlecase import UC_INITIALS
    assert bool(UC_INITIALS.match('A.B')) is True
github sjml / SimulatorGenerator / lib / titlecase / tests.py View on Github external
def test_initials_regex_2():
    """Test - uppercase initals regex with A.B."""
    from titlecase import UC_INITIALS
    assert bool(UC_INITIALS.match('A.B.')) is True
github mintchaos / typogrify / typogrify / packages / titlecase / tests.py View on Github external
def test_initials_regex_2():
    """Test - uppercase initals regex with A.B."""
    from titlecase import UC_INITIALS
    assert bool(UC_INITIALS.match('A.B.')) is True
github mintchaos / typogrify / typogrify / packages / titlecase / tests.py View on Github external
def test_initials_regex_3():
    """Test - uppercase initals regex with ABCD"""
    from titlecase import UC_INITIALS
    assert bool(UC_INITIALS.match('ABCD')) is False
github sjml / SimulatorGenerator / lib / titlecase / tests.py View on Github external
def test_initials_regex_3():
    """Test - uppercase initals regex with ABCD"""
    from titlecase import UC_INITIALS
    assert bool(UC_INITIALS.match('ABCD')) is False
github mintchaos / typogrify / typogrify / packages / titlecase / tests.py View on Github external
def test_initials_regex():
    """Test - uppercase initals regex with A.B"""
    from titlecase import UC_INITIALS
    assert bool(UC_INITIALS.match('A.B')) is True
github ppannuto / python-titlecase / titlecase / tests.py View on Github external
def test_initials_regex():
    """Test - uppercase initials regex with A.B"""
    from titlecase import UC_INITIALS
    assert bool(UC_INITIALS.match('A.B')) is True
github mintchaos / typogrify / typogrify / packages / titlecase / tests.py View on Github external
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