You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by sp...@apache.org on 2018/07/09 08:32:28 UTC

cassandra-dtest git commit: Fix json_tools_test.py assertions

Repository: cassandra-dtest
Updated Branches:
  refs/heads/master c98469d86 -> 0c46c4015


Fix json_tools_test.py assertions


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

Branch: refs/heads/master
Commit: 0c46c4015dbfcbefd94e5b65b51a274124a9f4b8
Parents: c98469d
Author: Stefan Podkowinski <st...@1und1.de>
Authored: Mon Jul 9 10:30:56 2018 +0200
Committer: Stefan Podkowinski <st...@1und1.de>
Committed: Mon Jul 9 10:30:56 2018 +0200

----------------------------------------------------------------------
 json_tools_test.py | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra-dtest/blob/0c46c401/json_tools_test.py
----------------------------------------------------------------------
diff --git a/json_tools_test.py b/json_tools_test.py
index 8065c16..61c2815 100644
--- a/json_tools_test.py
+++ b/json_tools_test.py
@@ -47,8 +47,8 @@ class TestJson(Tester):
 
         res = session.execute("SELECT * FROM Test. users")
 
-        assert assert_lists_equal_ignoring_order(rows_to_list(res), [['frodo', 1985, 'male', 'pass@', 'CA'],
-                               ['sam', 1980, 'male', '@pass', 'NY']])
+        assert_lists_equal_ignoring_order(rows_to_list(res), [['frodo', 1985, 'male', 'pass@', 'CA'],
+                                                              ['sam', 1980, 'male', '@pass', 'NY']])
 
         logger.debug("Flushing and stopping cluster...")
         node1.flush()
@@ -102,6 +102,6 @@ class TestJson(Tester):
 
         logger.debug("data: " + str(res))
 
-        assert rows_to_list(res) == [['frodo', 1985, 'male', 'pass@', 'CA'],
-                               ['sam', 1980, 'male', '@pass', 'NY'],
-                               ['gandalf', 1955, 'male', 'p@$$', 'WA']]
+        assert_lists_equal_ignoring_order(rows_to_list(res), [['frodo', 1985, 'male', 'pass@', 'CA'],
+                                                              ['sam', 1980, 'male', '@pass', 'NY'],
+                                                              ['gandalf', 1955, 'male', 'p@$$', 'WA']])


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org