def test_sync_import(self): fi = URLImport(IMPORT_URL, self.client, interval=3600) fi.run() self.assertIsNotNone(fi.id)
def test_url_import(self): fi = URLImport(IMPORT_URL, self.client) fi.run() self.assertIsNotNone(fi.id)