To understand what's going on hear, you really have to go back and look at the README.txt it was originally copied from.  The key lines are:

387 Login [to be done]
388
389    >>> view.request.form['__ac_name'] = 'foobar'
390    >>> view.request.form['__ac_password'] = 'testy'
391    >>> output = view()

When I looked at this stuff, no one could tell me what the missing steps were to make login actually work through the views (as opposed to the magic forcing of login through zope).  If you know how to get a login working properly, than we should be able to fix these tests (among others)...

Doug


On May 8, 2008, at 12:23 PM, Paul Winkler wrote:

Okay, this gets weirder.  The test fix I comitted in r16643 now fails
- the top nav has reverted to its previous (wrong-looking to me)
behavior.  Does anybody have any idea what's going on?

- PW

On Wed, May 07, 2008 at 08:02:13PM -0400, Paul Winkler wrote:
Or rather, what's mysterious to me is why this test ever passed
before.

In http://trac.openplans.org/openplans/changeset/16643 I changed a
test in oc-vacuum to assert somethign that looks more sensible to
me. If we're testing the topnav for a logged-in user, I don't know why
we'd expect to see "login" and "join" links. We should instead see a
"logout" link.  So that's what I changed it to do.

Is there a reason it was the way it was before?  If so, I'm wrong, and
we have a new bug, and r16643 should be reverted.


--

Paul Winkler
http://www.openplans.org/people/slinkp/profile
yahoo: slinkp23
AIM:   slinkp1970


--
Archive: http://www.openplans.org/projects/opencore/lists/opencore-dev/archive/2008/05/1210206525293
To unsubscribe send an email with subject unsubscribe to opencore-dev@lists.openplans.org.  Please contact opencore-dev-manager@lists.openplans.org for questions.





--

Paul Winkler
http://www.openplans.org/people/slinkp/profile
yahoo: slinkp23
AIM:   slinkp1970


--
Archive: http://www.openplans.org/projects/opencore/lists/opencore-dev/archive/2008/05/1210263829341
To unsubscribe send an email with subject unsubscribe to opencore-dev@lists.openplans.org.  Please contact opencore-dev-manager@lists.openplans.org for questions.


!DSPAM:4037,48232953178033327367457!