summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2012-04-28 17:19:49 -0700
committerAdrian Holovaty <adrian@holovaty.com>2012-04-28 17:19:49 -0700
commit97c899284000df8d733f5cff7ec8e8406a455c8c (patch)
tree7f47b417124b8168be1b59dfe315d6032c86ffaa /tests
parent75743c189d5138e47fd139b154c42e3bb67361c8 (diff)
parent527cce80dc03b57f8654f4a5ea64a17a1b3ef7d9 (diff)
Merge pull request #16 from akaariai/ticket_18218
Made table_names() output sorted.
Diffstat (limited to 'tests')
-rw-r--r--tests/regressiontests/introspection/tests.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/regressiontests/introspection/tests.py b/tests/regressiontests/introspection/tests.py
index 3bd9d60fa2..b425b6401d 100644
--- a/tests/regressiontests/introspection/tests.py
+++ b/tests/regressiontests/introspection/tests.py
@@ -40,6 +40,7 @@ class IntrospectionTests(TestCase):
def test_table_names(self):
tl = connection.introspection.table_names()
+ self.assertEqual(tl, sorted(tl))
self.assertTrue(Reporter._meta.db_table in tl,
"'%s' isn't in table_list()." % Reporter._meta.db_table)
self.assertTrue(Article._meta.db_table in tl,