~didrocks/unity/altf10

« back to all changes in this revision

Viewing changes to grackle/tests/test_client.py

  • Committer: Curtis Hovey
  • Date: 2012-03-16 20:41:54 UTC
  • Revision ID: curtis.hovey@canonical.com-20120316204154-nz50ae66odaqvnb4
Remove hack now that the tests use a helper that makes real messages.

Show diffs side-by-side

added added

removed removed

Lines of Context:
113
113
        """Start the HTTP server."""
114
114
        service = HTTPServer(('', self.port), FakeGrackleRequestHandler)
115
115
        service.store = MemoryStore(self.message_archives)
116
 
        for archive_id, messages in service.store.message_archives.iteritems():
117
 
            for message in messages:
118
 
                message.setdefault('headers', {})
119
116
        self.is_ready()
120
117
        if self.write_logs:
121
118
            logging.basicConfig(