File: test_console.py

package info (click to toggle)
python-easydev 0.10.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 504 kB
  • sloc: python: 2,130; javascript: 49; makefile: 13
file content (20 lines) | stat: -rw-r--r-- 318 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
from easydev.console import *
from easydev import console


def test_get_terminal_width():
    get_terminal_width()


def test_term_width_line():
    term_width_line('text')


def test_color_terminal():
    color_terminal()


def test_print_color():
    print(purple('\t%s' % "test"))
    print(red('\t%s' % "test"))