api_client = <rest_framework.test.APIClient object at 0x7fbe668c57b8>
archive_data = <swh.web.tests.conftest._ArchiveData object at 0x7fbe6beb4cc0>
@given(snapshot())
> def test_api_snapshot_filtered(api_client, archive_data, snapshot):
.tox/py3/lib/python3.7/site-packages/swh/web/tests/api/views/test_snapshot.py:99:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox/py3/lib/python3.7/site-packages/swh/web/tests/api/views/test_snapshot.py:118: in test_api_snapshot_filtered
snapshot, target_types=target_type
.tox/py3/lib/python3.7/site-packages/swh/web/tests/conftest.py:306: in snapshot_get_branches
for (branch_name, branch) in snp["branches"].items()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.0 = <dict_itemiterator object at 0x7fbe66881598>
"branches": {
branch_name: branch.to_dict()
> for (branch_name, branch) in snp["branches"].items()
},
"next_branch": None,
}
)
E AttributeError: 'dict' object has no attribute 'to_dict'
.tox/py3/lib/python3.7/site-packages/swh/web/tests/conftest.py:306: AttributeError
TEST RESULT
TEST RESULT
- Run At
- Aug 7 2020, 2:30 PM