File: test_console.py

package info (click to toggle)
python-easydev 0.13.3%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 636 kB
  • sloc: python: 1,904; makefile: 116; javascript: 49
file content (19 lines) | stat: -rw-r--r-- 317 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
from easydev import console
from easydev.console import *


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"))