Mikhail Korobov  committed a02c0d7

Tests take a long time to run => beep when they are finished

  • Participants
  • Parent commits 1a10d52
  • Branches default

Comments (0)

Files changed (1)

File fab_deploy_tests/

 import sys
 import os
 import unittest
+import atexit
 from unittest import TestSuite, TestLoader
 # always use fab_deploy from the checkout, not the installed version
 def help():
     print 'usage: "VM_NAME" <what_to_run>\n'
+def beep():
+    print('\a')
 if __name__ == '__main__':
     if len(sys.argv) == 1:
+    atexit.register(beep)
     FabDeployTest.vm_name = sys.argv[1]
     common_tests = load([BasicTest, SshTest, MysqlTest, CrontabTest])
     suites = {