Skip to content

Commit

Permalink
extended test
Browse files Browse the repository at this point in the history
  • Loading branch information
burnout87 committed Oct 8, 2024
1 parent f4cfc7d commit ea3c446
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_server_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -2737,6 +2737,7 @@ def test_source_resolver(dispatcher_live_fixture_with_gallery, dispatcher_test_c
assert 'entity_portal_link' in resolved_obj
assert 'object_ids' in resolved_obj
assert 'object_type' in resolved_obj
assert 'message' in resolved_obj

assert resolved_obj['name'] == source_to_resolve.replace('_', ' ')
assert resolved_obj['entity_portal_link'] == dispatcher_test_conf_with_gallery["product_gallery_options"]["entities_portal_url"]\
Expand Down Expand Up @@ -2784,6 +2785,7 @@ def test_source_resolver_invalid_local_resolver(dispatcher_live_fixture_with_gal
assert 'entity_portal_link' in resolved_obj
assert 'object_ids' in resolved_obj
assert 'object_type' in resolved_obj
assert 'message' in resolved_obj

assert resolved_obj['name'] == source_to_resolve.replace('_', ' ')
assert resolved_obj['entity_portal_link'] == dispatcher_test_conf_with_gallery_invalid_local_resolver["product_gallery_options"]["entities_portal_url"]\
Expand Down

0 comments on commit ea3c446

Please sign in to comment.