Skip to content

Commit

Permalink
Fix coverage gap in get_document_url
Browse files Browse the repository at this point in the history
  • Loading branch information
marcospri committed Jul 26, 2023
1 parent 11c4dc3 commit 066a550
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/unit/lms/product/plugin/misc_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ def test_get_document_url_with_assignment_in_db_copied_assignment(

assert result == sentinel.document_url

def test_get_document_url_with_no_document(self, plugin, pyramid_request):
assert not plugin.get_document_url(pyramid_request, None, None)

def test_get_deeplinking_launch_url(self, plugin, pyramid_request):
assert (
plugin.get_deeplinking_launch_url(pyramid_request, sentinel.config)
Expand Down

0 comments on commit 066a550

Please sign in to comment.