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

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

src/g/o/googlesafebrowsing-0.2.beta.git/googlesafebrowsing/sblist_test.py   googlesafebrowsing(Download)
    self.assertEqual(1, entry.AddChunkNum())
    # Now set a full-hash and check that the accessors return the right thing.
    entry.SetFullHash('fullhash', 42)
    self.assertEqual('fullhash', entry.FullHash())
    self.assertEqual(42, entry.GetHashTimestamp())

src/g/o/google-safe-browsing-HEAD/googlesafebrowsing/sblist_test.py   google-safe-browsing(Download)
    self.assertEqual(1, entry.AddChunkNum())
    # Now set a full-hash and check that the accessors return the right thing.
    entry.SetFullHash('fullhash', 42)
    self.assertEqual('fullhash', entry.FullHash())
    self.assertEqual(42, entry.GetHashTimestamp())