Skip to content

Commit

Permalink
Improve test info in act
Browse files Browse the repository at this point in the history
  • Loading branch information
javierdelapuente committed Dec 15, 2023
1 parent 9bc3857 commit 19b832e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src-docs/smtp_observer.py.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The SMTP relation observer.

Attrs: _pebble_service: instance of pebble service.

<a href="../src/smtp_observer.py#L41"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a>
<a href="../src/smtp_observer.py#L42"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a>

### <kbd>function</kbd> `__init__`

Expand All @@ -41,7 +41,7 @@ Shortcut for more simple access the model.

---

<a href="../src/smtp_observer.py#L58"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a>
<a href="../src/smtp_observer.py#L60"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a>

### <kbd>function</kbd> `get_relation_as_smtp_conf`

Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test_charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def test_smtp_integration_container_down(smtp_configured: Harness) -> None:
def test_smtp_relation_pebble_success(smtp_configured: Harness, monkeypatch: pytest.MonkeyPatch):
"""
arrange: start the Synapse charm, set server_name, mock synapse.enable_smtp.
act: call enable_smtp from pebble_service.
act: emit smtp_data_available
assert: synapse.enable_smtp is called once and unit is active.
"""
harness = smtp_configured
Expand Down

0 comments on commit 19b832e

Please sign in to comment.