def test_by(self): """Test that the by... bit works.""" content = addon_users_list({'amo': amo}, self.addon) eq_(pq(content).text(), 'by %s' % self.addon.authors.all()[0].name)