Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/j/a/JaikuEngine-HEAD/common/test/api.py   JaikuEngine(Download)
  def test_basic(self):
    api.abuse_report_entry(self.hermit, self.hermit_nick, self.public_entry_key)
    abuse_ref = api.abuse_get_entry(api.ROOT, self.public_entry_key)
    self.assertEquals(1, abuse_ref.count)
 
    api.abuse_report_entry(api.ROOT, 
 
    # don't count additional reports by the same user
    api.abuse_report_entry(self.hermit, self.hermit_nick, self.public_entry_key)
    abuse_ref3 = api.abuse_get_entry(api.ROOT, self.public_entry_key)
    self.assertEquals(2, abuse_ref3.count)