browse/snapshot_context: Handle snapshots containing only releases
That specific case was not covered at all as such snapshots could not be found into the archive until recently. So ensure to handle such snapshots properly and add exhaustive tests to cover all possible execution paths. Related to T3724
Showing
- swh/web/browse/snapshot_context.py 63 additions, 27 deletionsswh/web/browse/snapshot_context.py
- swh/web/browse/views/directory.py 5 additions, 1 deletionswh/web/browse/views/directory.py
- swh/web/templates/includes/top-navigation.html 1 addition, 1 deletionswh/web/templates/includes/top-navigation.html
- swh/web/tests/browse/test_snapshot_context.py 101 additions, 0 deletionsswh/web/tests/browse/test_snapshot_context.py
Loading
Please register or sign in to comment