problem in the field)
c2 = Client()
r = c2.get( url )
self.assertEquals( r.status_code, 200 )
self.assertNotContains(r,"Clark Kent")
self.assertNotContains(r,"us...@test.com")
self.assertNotContains(r,"555-111-")
On my site, some user data is automatically filled in to a form if a
user is logged in by accessing request.user in the view code.
On deployment, it seems that if *any* user is logged in, forms
requested via another browser will be filled in with their data. The
data is not filled in if no user i
want to do? You can TDD almost
everything else in django through TestClient except for the end result
of how stuff looks.
Jennifer
On Jan 4, 6:21 pm, Jennifer Bell wrote:
> OK, to elaborate: I have a open source project with consistent pain
> points around css and browser testing. Example
re you interested in having the ui render and generate a screen shot
> for human review? That's how I interpreted your question. If that's
> the case, look in to generating a screenshot by leveraging a tool that
> generates a png from HTML.
>
> I am eager to hear what other
Hi,
I'm trying to figure out the best way of doing something I'd like
to partially automate staging testing by generating a sequence of
human verifiable views, with the goal of making sure my app views/css/
3rd-party javascript etc. are drawing the way they ought to in more
complicated scenari
I would like my objects to be ordered by two (or more) fields when
viewed in the admin changelist. However, I noticed that ordering only
works for the first field listed.
I'm pretty sure this is because the order of the objects given to the
template is overridden by the javascript sort in the def
6 matches
Mail list logo