cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tylerho...@apache.org
Subject cassandra git commit: Update error message in cqlsh test to match latest
Date Thu, 15 Jan 2015 17:57:21 GMT
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 <tyler@datastax.com>
Authored: Thu Jan 15 11:57:00 2015 -0600
Committer: Tyler Hobbs <tyler@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")
 


Mime
View raw message