30-second lamson quickstart
- From:
- Jeff Bauer
- Date:
- 2011-01-25 @ 17:28
The 30-second lamson quickstart displays the error output
below when running nosetest out of the box. Changing
router_defaults in config/settings.py fixes the error
output, but I'm not sure if that's what someone is expecting
during quickstart.
Perhaps "lamson gen -project mymailserver" might generate a
different value (localhost) for router_defaults?
Best regards,
-Jeff
======================================================================
FAIL: But, make sure that mail NOT for test.com gets dropped silently.
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/jbauer/Projects/LAMSON/lib/python2.6/site-packages/nose/case.py",
line 187, in runTest
self.test(*self.arg)
File
"/home/jbauer/Projects/LAMSON/mymailserver/tests/handlers/open_relay_tests.py",
line 28, in test_drops_open_relay_messages
assert queue().count() == 0, "You are configured currently to
accept everything. You should change config/settings.py router_defaults
so host is your actual host name that will receive mail."
AssertionError: You are configured currently to accept everything. You
should change config/settings.py router_defaults so host is your actual
host name that will receive mail.
----------------------------------------------------------------------
Ran 2 tests in 0.122s
FAILED (failures=1)