Parcourir la source

[1735] Get rid of the socket file when ddns.clear_socket() is overridden

Mukund Sivaraman il y a 13 ans
Parent
commit
18aa535940
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      src/bin/ddns/tests/ddns_test.py

+ 2 - 0
src/bin/ddns/tests/ddns_test.py

@@ -379,6 +379,8 @@ class TestMain(unittest.TestCase):
 
     def __clear_socket(self):
         self.__clear_called = True
+        # Get rid of the socket file too
+        self.__orig_clear()
 
     def check_exception(self, ex):
         '''Common test sequence to see if the given exception is caused.