]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
python/tests/lsa_string: remove duplicate method
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Thu, 11 Oct 2018 00:50:06 +0000 (13:50 +1300)
committerNoel Power <npower@samba.org>
Thu, 25 Oct 2018 19:45:59 +0000 (21:45 +0200)
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
python/samba/tests/lsa_string.py

index b8519b6b37f89a9fe6e14cfa8ec694366483333c..bcc76b5b0baf9569ed86f2213750f15f69fc585c 100644 (file)
@@ -33,15 +33,6 @@ class LsaStringTests(TestCase):
         self.assertEqual(0, s.size)
         self.assertEqual(0, s.length)
 
-    def test_string_constructor(self):
-        CONTENT = "The content string"
-        s = lsa.String(CONTENT)
-        self.assertEqual(CONTENT, s.string)
-
-        # These should be zero, are set by ndr_pack and ndr_unpack
-        self.assertEqual(0, s.size)
-        self.assertEqual(0, s.length)
-
     def test_string_constructor(self):
         CONTENT = "The content string"
         s = lsa.String(CONTENT)