Beispiel #1
0
 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)
Beispiel #2
0
 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)