hm. no luck:
File "/home/robert/projects/wals2/wals2/wals2/tests/__init__.py",
line 26, in <module>
config =
SetupCommand('setup-app').run([pylons.test.pylonsapp.config['__file__']])
AttributeError: 'Cascade' object has no attribute 'config'
i changed websetup.py, too, but still couldn't get it to work.
On Sat, Feb 6, 2010 at 9:10 PM, Ben Bangert <[email protected]> wrote:
> On Feb 6, 2010, at 10:24 AM, Robert Forkel wrote:
>
>> ok, got it to work with the change posted before. now nosetests fail because
>> of:
>>
>> File ".../tests/__init__.py", line 33, in setUp
>> wsgiapp = loadapp('config:%s' % config['__file__'])
>>
>> where would i get the __file__ path now?
>
> This is what the tests/__init__.py looks like for a fresh Pylons 1.0 project,
> following its changes should remedy the issue:
> http://bitbucket.org/bbangert/pylons/src/tip/pylons/templates/default_project/+package+/tests/__init__.py_tmpl
>
> - Ben
>
> --
> You received this message because you are subscribed to the Google Groups
> "pylons-discuss" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/pylons-discuss?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pylons-discuss?hl=en.