Example #1
0
 def sync_and_assert(urls):
     d.sync_urls(urls)
     Session.commit()
     self.assert_urls(urls, d)
     self.assert_urls(urls)
Example #2
0
 def sync_and_assert(ips, ips_stored=None):
     d.sync_ips(ips, ips_stored=ips_stored)
     Session.commit()
     self.assert_ips(ips, d)