~exarkun/pyopenssl/mem-bio

Viewing all changes in revision 104.

  • Committer: Jean-Paul Calderone
  • Date: 2009-04-27 16:59:12 UTC
  • Revision ID: exarkun@divmod.com-20090427165912-7a7oq0p89n7baxkx
A few cleanups and simplifications to the mem bio tests

trial's unittest doesn't actually have a main function, so stop trying to use it (so stop having a __main__ - doh)
improve/add test docstrings in a few places
factor the buffer flushing logic into a general `_loopback` method and then use it in the test; add another app-level exchange
  to the main mem bio test

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: