Add docstrings to new test methods
This commit is contained in:
@@ -671,6 +671,9 @@ class TypeTests(unittest.TestCase):
|
||||
self.assertEqual(created_tuple, result['v_%s' % i])
|
||||
|
||||
def test_tuples_with_nulls(self):
|
||||
"""
|
||||
Test tuples with null and empty string fields.
|
||||
"""
|
||||
if self._cass_version < (2, 1, 0):
|
||||
raise unittest.SkipTest("The tuple type was introduced in Cassandra 2.1")
|
||||
|
||||
|
||||
@@ -232,6 +232,9 @@ class TypeTests(unittest.TestCase):
|
||||
c.shutdown()
|
||||
|
||||
def test_udts_with_nulls(self):
|
||||
"""
|
||||
Test UDTs with null and empty string fields.
|
||||
"""
|
||||
c = Cluster(protocol_version=PROTOCOL_VERSION)
|
||||
s = c.connect()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user