This is an automated email from the ASF dual-hosted git repository.
brandonwilliams pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra.git
The following commit(s) were added to refs/heads/trunk by this push:
new 0d860ec662 Add teardown to test_cqlsh_completion
0d860ec662 is described below
commit 0d860ec662b0088ea7f77f98051121e198eb5692
Author: Brad Schoening <[email protected]>
AuthorDate: Tue Mar 22 09:41:52 2022 -0400
Add teardown to test_cqlsh_completion
Patch by Brad Schoening; reviewed by brandonwilliams and smiklosovic for
CASSANDRA-17465
---
pylib/cqlshlib/test/test_unicode.py | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/pylib/cqlshlib/test/test_unicode.py
b/pylib/cqlshlib/test/test_unicode.py
index 7ec121e4ec..a1e842d437 100644
--- a/pylib/cqlshlib/test/test_unicode.py
+++ b/pylib/cqlshlib/test/test_unicode.py
@@ -18,7 +18,7 @@
import os
from .basecase import BaseTestCase
-from .cassconnect import (get_cassandra_connection, create_keyspace,
testrun_cqlsh)
+from .cassconnect import (get_cassandra_connection, create_keyspace,
remove_db, testrun_cqlsh)
class TestCqlshUnicode(BaseTestCase):
@@ -34,6 +34,10 @@ class TestCqlshUnicode(BaseTestCase):
env['LC_CTYPE'] = 'UTF-8'
cls.default_env = env
+ @classmethod
+ def tearDownClass(cls):
+ remove_db()
+
def test_unicode_value_round_trip(self):
with testrun_cqlsh(tty=True, env=self.default_env) as c:
value = 'ϑΉӁװڜ'
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]