[Spambayes-checkins] spambayes/Outlook2000 addin.py,1.83,1.84

Mark Hammond mhammond at users.sourceforge.net
Tue Jul 29 21:18:02 EDT 2003


Update of /cvsroot/spambayes/spambayes/Outlook2000
In directory sc8-pr-cvs1:/tmp/cvs-serv10853

Modified Files:
	addin.py 
Log Message:
Reload the test module before running test suite.


Index: addin.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/Outlook2000/addin.py,v
retrieving revision 1.83
retrieving revision 1.84
diff -C2 -d -r1.83 -r1.84
*** addin.py	29 Jul 2003 00:47:36 -0000	1.83
--- addin.py	30 Jul 2003 03:17:59 -0000	1.84
***************
*** 537,541 ****
  # A hook for whatever tests we have setup
  def Tester(manager):
!     import tester, traceback
      try:
          print "Executing automated tests..."
--- 537,544 ----
  # A hook for whatever tests we have setup
  def Tester(manager):
!     import tester
!     # This is only used in source-code versions - so we may as well reload
!     # the test suite to save shutting down Outlook each time we tweak it.
!     reload(tester)
      try:
          print "Executing automated tests..."





More information about the Spambayes-checkins mailing list