Author: gdusbabek
Date: Tue Dec 14 17:06:49 2010
New Revision: 1049168

URL: http://svn.apache.org/viewvc?rev=1049168&view=rev
Log:
fix broken nost test

Modified:
    cassandra/branches/cassandra-0.7/test/system/test_thrift_server.py

Modified: cassandra/branches/cassandra-0.7/test/system/test_thrift_server.py
URL: 
http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.7/test/system/test_thrift_server.py?rev=1049168&r1=1049167&r2=1049168&view=diff
==============================================================================
--- cassandra/branches/cassandra-0.7/test/system/test_thrift_server.py 
(original)
+++ cassandra/branches/cassandra-0.7/test/system/test_thrift_server.py Tue Dec 
14 17:06:49 2010
@@ -1128,7 +1128,7 @@ class TestMutations(ThriftTester):
         exc = _expect_exception(add_invalid_keyspace, InvalidRequestException)
         s = str(exc)
         assert s.find("InvalidStrategyClass") > -1, s
-        assert s.find("keyspace replication strategy") > -1, s
+        assert s.find("Unable to find replication strategy") > -1, s
 
         def update_invalid_keyspace():
             client.system_add_keyspace(KsDef('ValidKsForUpdate', 
'org.apache.cassandra.locator.SimpleStrategy', {}, 1, []))
@@ -1137,7 +1137,7 @@ class TestMutations(ThriftTester):
         exc = _expect_exception(update_invalid_keyspace, 
InvalidRequestException)
         s = str(exc)
         assert s.find("InvalidStrategyClass") > -1, s
-        assert s.find("keyspace replication strategy") > -1, s
+        assert s.find("Unable to find replication strategy") > -1, s
 
     def test_invalid_cf_names(self):
         def invalid_cf():


Reply via email to