summaryrefslogtreecommitdiff
path: root/prettytable_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'prettytable_test.py')
-rw-r--r--prettytable_test.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/prettytable_test.py b/prettytable_test.py
index 6243d13..ef33d3e 100644
--- a/prettytable_test.py
+++ b/prettytable_test.py
@@ -192,6 +192,14 @@ class BasicTests(CityDataTest):
lengths = set(lengths)
self.assertEqual(len(lengths),1)
+class TitleBasicTests(BasicTests):
+
+ """Run the basic tests with a title"""
+
+ def setUp(self):
+ BasicTests.setUp(self)
+ self.x.title = "My table"
+
class NoBorderBasicTests(BasicTests):
"""Run the basic tests with border = False"""
@@ -243,6 +251,7 @@ class EmptyTableTests(CityDataTest):
def testInteractionWithBorder(self):
assert self.y.get_string(border=False, print_empty=True) == ""
+
class PresetBasicTests(BasicTests):
"""Run the basic tests after using set_style"""