swh_scheduler = <swh.scheduler.backend.SchedulerBackend object at 0x7ff7bda03710>
def test_lister_gitlab_url_computation(swh_scheduler):
instance = "gitlab"
url = api_url(instance).rstrip("/")
assert not url.endswith("/")
lister = GitLabLister(scheduler=swh_scheduler, url=url)
> assert lister.url == api_url(instance)
E AssertionError: assert 'https://gitlab/api/v4' == 'https://gitlab/api/v4/'
E - https://gitlab/api/v4/
E ? -
E + https://gitlab/api/v4
.tox/py3/lib/python3.7/site-packages/swh/lister/gitlab/tests/test_lister.py:225: AssertionError
TEST RESULT
TEST RESULT
- Run At
- Jan 27 2021, 7:09 PM