Ejemplo n.º 1
0
def test_strikethrough():
    text = 'Hello World'
    assert strikethrough(text) == '\x1e' + text + '\x1e'
Ejemplo n.º 2
0
                      IDOL_COLORS['kunikida hanamaru']),
 'kurosawa dia':
 formatting.hex_color('Kurosawa Dia', IDOL_COLORS['kurosawa dia']),
 'kurosawa ruby':
 formatting.hex_color('Kurosawa Ruby', IDOL_COLORS['kurosawa ruby']),
 'matsuura kanan':
 formatting.hex_color('Matsuura Kanan', IDOL_COLORS['matsuura kanan']),
 'ohara mari':
 formatting.hex_color('Ohara Mari', IDOL_COLORS['ohara mari']),
 'sakurauchi riko':
 formatting.hex_color('Sakurauchi Riko', IDOL_COLORS['sakurauchi riko']),
 'takami chika':
 formatting.hex_color('Takami Chika', IDOL_COLORS['takami chika']),
 'tsushima yoshiko':
 formatting.hex_color(
     'Tsushima {} Yohane'.format(formatting.strikethrough('Yoshiko')),
     IDOL_COLORS['tsushima yoshiko']),
 'watanabe you':
 formatting.hex_color('Watanabe You', IDOL_COLORS['watanabe you']),
 'asaka karin':
 formatting.hex_color('Asaka Karin', IDOL_COLORS['asaka karin']),
 'emma verde':
 formatting.hex_color('Emma Verde', IDOL_COLORS['emma verde']),
 'konoe kanata':
 formatting.hex_color('Konoe Kanata', IDOL_COLORS['konoe kanata']),
 'miyashita ai':
 formatting.hex_color('Miyashita Ai', IDOL_COLORS['miyashita ai']),
 'nakasu kasumi':
 formatting.hex_color('Nakasu Kasumi', IDOL_COLORS['nakasu kasumi']),
 'ousaka shizuku':
 formatting.hex_color('Ousaka Shizuku', IDOL_COLORS['ousaka shizuku']),
Ejemplo n.º 3
0
def test_strikethrough():
    text = 'Hello World'
    assert strikethrough(text) == '\x1e' + text + '\x1e'
Ejemplo n.º 4
0
def test_plain_strikethrough():
    text = 'some text'
    assert plain(strikethrough(text)) == text