swh_scheduler = <swh.scheduler.backend.SchedulerBackend object at 0x7fc01b083a20>
requests_mock_datadir = <requests_mock.mocker.Mocker object at 0x7fc01b046208>
def test_lister_bitbucket(swh_scheduler, requests_mock_datadir):
"""Simple Bitbucket listing with two pages containing 10 origins"""
lister = BitbucketLister(scheduler=swh_scheduler, per_page=10)
stats = lister.run()
> assert stats.pages == 2
E assert 0 == 2
E +0
E -2
.tox/py3/lib/python3.7/site-packages/swh/lister/bitbucket/tests/test_lister.py:16: AssertionError
TEST RESULT
TEST RESULT
- Run At
- Jan 13 2021, 11:08 AM