Page MenuHomeSoftware Heritage
Paste P566

test_origin_url_repeat_order2
ActivePublic

Authored by vlorentz on Dec 4 2019, 4:40 PM.
self.search.origin_update([
{'url': 'https://bitbucket.org/bitbucket0145/bitbucket_repo.git'},
{'url': 'https://gitorious.org/railstutorial/railstutorial.git'},
{'url': 'https://bitbucket.org/bittelc/railstutorial.git'},
])
self.search.flush()
results = self.search.origin_search(url_pattern='bitbucket railstutorial')
print(results)
# {'results': [{'url': 'https://bitbucket.org/bittelc/railstutorial.git'}, {'url': 'https://gitorious.org/railstutorial/railstutorial.git'}, {'url': 'https://bitbucket.org/bitbucket0145/bitbucket_repo.git'}]}

Event Timeline

vlorentz edited the content of this paste. (Show Details)