You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by ty...@apache.org on 2015/01/15 18:57:21 UTC

cassandra git commit: Update error message in cqlsh test to match latest

Repository: cassandra
Updated Branches:
  refs/heads/cassandra-2.1 a6e953c8c -> a3234e191


Update error message in cqlsh test to match latest


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/a3234e19
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/a3234e19
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/a3234e19

Branch: refs/heads/cassandra-2.1
Commit: a3234e191f661cfbbb27df748205fb1ac67101de
Parents: a6e953c
Author: Tyler Hobbs <ty...@datastax.com>
Authored: Thu Jan 15 11:57:00 2015 -0600
Committer: Tyler Hobbs <ty...@datastax.com>
Committed: Thu Jan 15 11:57:00 2015 -0600

----------------------------------------------------------------------
 pylib/cqlshlib/test/test_cqlsh_output.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/a3234e19/pylib/cqlshlib/test/test_cqlsh_output.py
----------------------------------------------------------------------
diff --git a/pylib/cqlshlib/test/test_cqlsh_output.py b/pylib/cqlshlib/test/test_cqlsh_output.py
index baf72c1..60ef3a4 100644
--- a/pylib/cqlshlib/test/test_cqlsh_output.py
+++ b/pylib/cqlshlib/test/test_cqlsh_output.py
@@ -544,7 +544,7 @@ class TestCqlshOutput(BaseTestCase):
             self.assertEqual(outputlines[2], 'cqlsh:system> ')
             midline = ColoredText(outputlines[1])
             self.assertEqual(midline.plain(),
-                             'code=2200 [Invalid query] message="Keyspace \'nonexistentkeyspace\' does not exist"')
+                             'InvalidRequest: code=2200 [Invalid query] message="Keyspace \'nonexistentkeyspace\' does not exist"')
             self.assertColorFromTags(midline,
                              "RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR")