Add docstrings to new test methods

This commit is contained in:
Tyler Hobbs
2014-08-01 15:00:22 -05:00
parent d100066f75
commit 28bf0acb11
2 changed files with 6 additions and 0 deletions

View File

@@ -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")

View File

@@ -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()