Commits

Anonymous committed 177cca8

[svn r980] Minor cleanup removing vars no longer needed for a unit test

  • Participants
  • Parent commits 8b4c05f

Comments (0)

Files changed (1)

File trunk/superlance/tests/fatalmailbatch_test.py

 import unittest
 import mock
-import time
 from StringIO import StringIO
 
 class FatalMailBatchTests(unittest.TestCase):
     fromEmail = 'testFrom@blah.com'
     toEmail = 'testTo@blah.com'
     subject = 'Test Alert'
-    now = 1279677400.1
     unexpectedErrorMsg = 'Process bar:foo failed to start too many times'
     
     def _getTargetClass(self):
         kwargs['fromEmail'] = kwargs.get('fromEmail', self.fromEmail)
         kwargs['toEmail'] = kwargs.get('toEmail', self.toEmail)
         kwargs['subject'] = kwargs.get('subject', self.subject)
-        kwargs['now'] = self.now
         
         obj = self._getTargetClass()(**kwargs)
         obj.sendEmail = mock.Mock()