title: pytest-django: Is this the right way to test view with parameters?
body: <p>Say I'm testing an RSS feed view in a Django app, is this how I should go about it?</p>
  
  <pre><code>def test_some_view(...):
      ...
      requested_url = reverse("personal_feed", args=[some_profile.auth_token])
      resp = client.get(requested_url, follow=True)
      ...
      assert dummy_object.title in str(resp.content)
  </code></pre>
  
  <ol>
  <li><p>Is <code>reverse</code>-ing and then passing that into the <code>client.get()</code> the right way to test? I thought it's DRYer and more future-proof than simply <code>.get()</code>ing the URL.</p></li>
  <li><p>Should I assert that <code>dummy_object</code> is in the response this way?</p></li>
  <li><p>I'm testing here using the <code>str</code> representation of the response object. When is it a good practice to do this vs. using <code>selenium</code>? I know it makes it easier to verify that said <code>obj</code> or property (like <code>dummy_object.title</code>) is encapsulated within an <code>H1</code> tag for example. On the other hand, if I don't care about <em>how</em> the obj is represented, it's faster to do it like the above.</p></li>
  </ol>