Skip to content

Commit

Permalink
fixing an issue in test_router that seemed to be breaking (at least
Browse files Browse the repository at this point in the history
on windows).
  • Loading branch information
czue committed Jul 23, 2009
1 parent 25a2d9c commit b668e72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/rapidsms/tests/test_router.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ class TestRouter(unittest.TestCase):
def test_log(self):
r = Router()
r.logger = MockLogger()
r.log("debug", "test message", 5)
self.assertEquals(r.logger[0], (r,"debug","test message",5),
r.log("debug", "test message %d", 5)
self.assertEquals(r.logger[0], (r,"debug","test message %d",5),
"log() calls self.logger.write()")

def test_set_logger(self):
Expand Down

0 comments on commit b668e72

Please sign in to comment.