Example #1
0
 def test_compare_v3_returns_comparison_to_template(self):
     response = compare_v3(self.request, self.comparison.id)
     self.assertEqual(self.comparison, response['comparison'])
Example #2
0
 def test_compare_v3_renders_compare_v3_html(self):
     response = compare_v3(self.request, self.comparison.id)
     self.assertEqual('compare_v3.html', response['template'])