mirror of
https://github.com/evennia/evennia.git
synced 2026-04-03 06:27:17 +02:00
More refactoring of the unittest system
This commit is contained in:
parent
7571e3606d
commit
67c4896a53
6 changed files with 8 additions and 10 deletions
|
|
@ -1,4 +1,3 @@
|
|||
# coding=utf-8
|
||||
"""
|
||||
|
||||
EvTable
|
||||
|
|
@ -625,7 +624,7 @@ class Cell(object):
|
|||
return unicode(ANSIString("\n").join(self.formatted))
|
||||
|
||||
|
||||
# Main Evtable class
|
||||
## Main Evtable class
|
||||
|
||||
class EvTable(object):
|
||||
"""
|
||||
|
|
@ -635,7 +634,6 @@ class EvTable(object):
|
|||
all cell boundaries lining up.
|
||||
"""
|
||||
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
Args:
|
||||
|
|
@ -738,8 +736,8 @@ class EvTable(object):
|
|||
pcorners = kwargs.pop("pretty_corners", False)
|
||||
self.corner_top_left = _to_ansi(kwargs.pop("corner_top_left", '.' if pcorners else self.corner_char))
|
||||
self.corner_top_right = _to_ansi(kwargs.pop("corner_top_right", '.' if pcorners else self.corner_char))
|
||||
self.corner_bottom_left = _to_ansi(kwargs.pop("corner_bottom_left", '`' if pcorners else self.corner_char))
|
||||
self.corner_bottom_right = _to_ansi(kwargs.pop("corner_bottom_right", '´' if pcorners else self.corner_char))
|
||||
self.corner_bottom_left = _to_ansi(kwargs.pop("corner_bottom_left", ' ' if pcorners else self.corner_char))
|
||||
self.corner_bottom_right = _to_ansi(kwargs.pop("corner_bottom_right", ' ' if pcorners else self.corner_char))
|
||||
|
||||
self.width = kwargs.pop("width", None)
|
||||
self.height = kwargs.pop("height", None)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue