Merge branch 'master' into develop
This commit is contained in:
commit
399cc91412
3 changed files with 31 additions and 6 deletions
|
|
@ -6,6 +6,7 @@ Test form
|
|||
FORMCHAR = "x"
|
||||
TABLECHAR = "c"
|
||||
|
||||
|
||||
FORM = """
|
||||
.------------------------------------------------.
|
||||
| |
|
||||
|
|
@ -27,4 +28,6 @@ FORM = """
|
|||
| ccccccccc | ccccccccccccccccBccccccccccccccccc |
|
||||
| | |
|
||||
-----------`-------------------------------------
|
||||
Footer: xxxFxxx
|
||||
info
|
||||
"""
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ class TestEvForm(TestCase):
|
|||
u'|\n'
|
||||
u'| \x1b[0m\x1b[1m\x1b[32mBouncer\x1b[0m \x1b[0m |\n'
|
||||
u'| |\n'
|
||||
u' >----------------------------------------------<\n'
|
||||
u' >----------------------------------------------< \n'
|
||||
u'| |\n'
|
||||
u'| Desc: \x1b[0mA sturdy \x1b[0m \x1b[0m'
|
||||
u' STR: \x1b[0m12 \x1b[0m\x1b[0m\x1b[0m\x1b[0m'
|
||||
|
|
@ -31,7 +31,7 @@ class TestEvForm(TestCase):
|
|||
u' LUC: \x1b[0m10 \x1b[0m\x1b[0m\x1b[0m'
|
||||
u' MAG: \x1b[0m3 \x1b[0m\x1b[0m\x1b[0m |\n'
|
||||
u'| |\n'
|
||||
u' >----------.-----------------------------------<\n'
|
||||
u' >----------.-----------------------------------< \n'
|
||||
u'| | |\n'
|
||||
u'| \x1b[0mHP\x1b[0m|\x1b[0mMV \x1b[0m|\x1b[0mMP\x1b[0m '
|
||||
u'| \x1b[0mSkill \x1b[0m|\x1b[0mValue \x1b[0m'
|
||||
|
|
@ -47,7 +47,10 @@ class TestEvForm(TestCase):
|
|||
u'| \x1b[0mSmithing \x1b[0m|\x1b[0m9 \x1b[0m'
|
||||
u'|\x1b[0m205/900 \x1b[0m\x1b[0m\x1b[0m\x1b[0m\x1b[0m\x1b[0m\x1b[0m |\n'
|
||||
u'| | |\n'
|
||||
u' -----------`-------------------------------------\n')
|
||||
u' -----------`-------------------------------------\n'
|
||||
u' Footer: \x1b[0mrev 1 \x1b[0m \n'
|
||||
u' info \n'
|
||||
u' ')
|
||||
|
||||
def test_ansi_escape(self):
|
||||
# note that in a msg() call, the result would be the correct |-----,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue