def test_compute_query_release():
query, where_args, column_aliases = compute_query("release", "\x000002", "\x000003")
assert where_args == ["\x000002", "\x000003"]
> assert column_aliases == [
"id",
"date",
"date_offset",
"comment",
"name",
"synthetic",
"date_neg_utc_offset",
"target",
"target_type",
"author_id",
"author_name",
"author_email",
"author_fullname",
]
E AssertionError: assert ['id', 'date'..., 'name', ...] == ['id', 'date'...nthetic', ...]
E At index 3 diff: 'date_neg_utc_offset' != 'comment'
E Full diff:
E [
E 'id',
E 'date',
E 'date_offset',
E + 'date_neg_utc_offset',...
E
E ...Full output truncated (12 lines hidden), use '-vv' to show
.tox/py3/lib/python3.7/site-packages/swh/storage/tests/test_backfill.py:143: AssertionError
TEST RESULT
TEST RESULT
- Run At
- Jun 17 2020, 9:57 AM