Browse Source

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

Mukund Sivaraman 13 years ago
parent
commit
18aa535940
1 changed files with 2 additions and 0 deletions
  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.