Skip to content

Commit

Permalink
Add some descriptive comments to tests
Browse files Browse the repository at this point in the history
Co-authored-by: Padraic Shafer <[email protected]>
  • Loading branch information
AbbyGi and padraic-shafer authored Oct 22, 2024
1 parent 5c4305e commit afa852e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions PyMca5/tests/ut/test_tiled_catalog_selector.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ def test_on_url_editing_finished():
expected_url = "after"
model = TiledCatalogSelector(url="before")
# Behave as if the user had edited the url in the dialog widget
# Behave as if the user had edited the url in the dialog widget
model._url_buffer = expected_url

with patch.object(model, "url_changed") as mock_signal:
Expand Down Expand Up @@ -178,6 +179,7 @@ def test_validation_on_url_editing_finished(
validators = {"url": [validate_url_scheme]}
model = TiledCatalogSelector(url="before", validators=validators)
# Behave as if the user had edited the url in the dialog widget
# Behave as if the user had edited the url in the dialog widget
model._url_buffer = url

with patch.object(model, "url_validation_error") as mock_signal:
Expand Down

0 comments on commit afa852e

Please sign in to comment.