Exemplo n.º 1
0
 def test_only_fx(self):
     self.ctx['request'].APP = amo.THUNDERBIRD
     r = performance_note(self.ctx, 30)
     eq_(r.strip(), '')
Exemplo n.º 2
0
 def test_show_not_listing(self):
     r = performance_note(self.ctx, 30)
     assert self.not_listing in r, r
Exemplo n.º 3
0
 def test_show_listing(self):
     r = performance_note(self.ctx, 30, listing=True)
     assert self.listing in r, r
Exemplo n.º 4
0
 def test_only_fx(self):
     self.ctx['request'].APP = amo.THUNDERBIRD
     r = performance_note(self.ctx, 30)
     eq_(r.strip(), '')
Exemplo n.º 5
0
 def test_show_not_listing(self):
     r = performance_note(self.ctx, 30)
     assert self.not_listing in r, r
Exemplo n.º 6
0
 def test_show_listing(self):
     r = performance_note(self.ctx, 30, listing=True)
     assert self.listing in r, r