python/tests/kcc_utils: disambiguate/unshadow a test
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Thu, 11 Oct 2018 03:15:43 +0000 (16:15 +1300)
committerNoel Power <npower@samba.org>
Thu, 25 Oct 2018 19:45:59 +0000 (21:45 +0200)
Pair-programmed-with: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
python/samba/tests/kcc/kcc_utils.py

index 14b65429c95c292cdff4f98109d508d6be838ea7..bad32b9ed6eb383ec1aacbfaea589cc1b164c455 100644 (file)
@@ -255,7 +255,8 @@ class SiteCoverageTests(samba.tests.TestCase):
 
         self.assertEqual([], to_cover)
 
-    def test_three_site_links_different_costs(self):
+    def test_three_site_links_duplicate_costs(self):
+        # two of the links have the same cost; the other is higher
         self.samdb.transaction_start()
         site1, name1 = self._add_site(self.prefix + "ABCD")
         site2, name2 = self._add_site(self.prefix + "BCDE")