Skip to content

Commit

Permalink
cqlshlib/test: Use assertEqual instead of assertEquals
Browse files Browse the repository at this point in the history
The latter method is not declared, so use the former.
  • Loading branch information
dawmd authored and fruch committed Sep 2, 2024
1 parent 4b4bcfc commit aa6c3cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pylib/cqlshlib/test/test_cqlsh_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -1061,14 +1061,14 @@ def test_scylla_tags(self):
AND min_index_interval = 128
AND read_repair_chance = 0.0
AND speculative_retry = '99.0PERCENTILE';
cdc = {{'delta': 'full', 'enabled': 'true', 'postimage': 'false', 'preimage': 'false', 'ttl': '86400'}}
""")

with testrun_cqlsh(tty=True, env=self.default_env) as c:

output = c.cmd_and_response(f"CREATE TABLE {qks}.ccc (pkey int, PRIMARY KEY(pkey)) WITH cdc = {{'enabled': true}};")
self.assertEquals(output.strip(), "")
self.assertEqual(output.strip(), "")
output = c.cmd_and_response('describe table {}.ccc'.format(qks))
lines = _normalize_response(dedent(output))
expected_lines = _normalize_response(expected)
Expand Down

0 comments on commit aa6c3cc

Please sign in to comment.