From 28bf0acb114a94d3ebbd5a145a8790ee4ded826e Mon Sep 17 00:00:00 2001 From: Tyler Hobbs Date: Fri, 1 Aug 2014 15:00:22 -0500 Subject: [PATCH] Add docstrings to new test methods --- tests/integration/standard/test_types.py | 3 +++ tests/integration/standard/test_udts.py | 3 +++ 2 files changed, 6 insertions(+) diff --git a/tests/integration/standard/test_types.py b/tests/integration/standard/test_types.py index 25307199..a3d8f2f0 100644 --- a/tests/integration/standard/test_types.py +++ b/tests/integration/standard/test_types.py @@ -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") diff --git a/tests/integration/standard/test_udts.py b/tests/integration/standard/test_udts.py index 53d20d89..0a7a62ba 100644 --- a/tests/integration/standard/test_udts.py +++ b/tests/integration/standard/test_udts.py @@ -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()