Esempio n. 1
0
def test_get_term_width_exception():
    """ Test common.get_term_width with (emulated) failure. """
    assert common.get_term_width() == 80
Esempio n. 2
0
def test_get_term_width_exception():
    """ Test common.get_term_width with (emulated) failure. """
    assert common.get_term_width() == 80
Esempio n. 3
0
def test_get_term_width_success():
    """ Test common.get_term_width with (emulated) success. """
    returned = common.get_term_width()
    assert returned == 127 or returned == 80
Esempio n. 4
0
def test_get_term_width_success():
    """ Test common.get_term_width with (emulated) success. """
    returned = common.get_term_width()
    assert returned == 127 or returned == 80