Did a paster quickstart and dabbled a bit. Got to the "Testing" part. The 
functional tests are very noise.

$ nosetests  -s -w techs/tests/functional/ test_dns
Running setup_config() from techs.websetup
Creating tables
/Users/tanner/projects/real-time/tg2env/lib/python2.6/site-packages/TurboGears2-2.1b2-py2.6.egg/tg/controllers/dispatcher.py:244:
 UserWarning: this functionality is going to removed in the next minor version, 
please use _before instead.
  warn("this functionality is going to removed in the next minor version,"\
/Users/tanner/projects/real-time/tg2env/lib/python2.6/site-packages/Pylons-0.9.7-py2.6.egg/pylons/templating.py:328:
 DeprecationWarning: pylons.h is deprecated: use your project's lib.helpers 
module directly instead. Your lib/helpers.py may require the following 
additional imports:

    from pylons.helpers import log
    from pylons.i18n import get_lang, set_lang

Use the following in your project's lib/base.py file (and any other module that
uses h):

    import MYPROJ.lib.helpers as h

(where MYPROJ is the name of your project) instead of:

    from pylons import h

  globs.update(pylons_globals())
.
----------------------------------------------------------------------
Ran 1 test in 0.285s

OK

Any way to squelch or fix the "UserWarning" and "DeprecationWarning"?

Makes it hard to follow the tests.


--
Bob Tanner <[email protected]>                 | Phone : 952-943-8700
http://www.real-time.com, Linux, OSX, VMware | Fax      : 952-943-8500
Key fingerprint = F785 DDFC CF94 7CE8 AA87 3A9D 3895 26F1 0DDB E378

Attachment: PGP.sig
Description: This is a digitally signed message part

Reply via email to