Exemplo n.º 1
0
 def test_mark_done_public(self):
     w = Webapp()
     eq_(w.status, amo.STATUS_NULL)
     w.mark_done()
     eq_(w.status, amo.STATUS_PUBLIC)
Exemplo n.º 2
0
 def test_mark_done_pending(self):
     w = Webapp()
     eq_(w.status, amo.STATUS_NULL)
     w.mark_done()
     eq_(w.status, amo.STATUS_PENDING)