Skip to content

Commit f06eb6a

Browse files
committed
Mark merge integration test as such
The current tests for merge are really integration tests, as it uses a channel, so we better rename it and mark it as such, as a failure in this test could be actually a failure in `Anycast` instead. Signed-off-by: Leandro Lucarella <[email protected]>
1 parent 28ad31f commit f06eb6a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/test_merge.py renamed to tests/test_merge_integration.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
# License: MIT
22
# Copyright © 2022 Frequenz Energy-as-a-Service GmbH
33

4-
"""Tests for the merge implementation."""
4+
"""Integration tests for the merge implementation."""
55

66
import asyncio
77

8+
import pytest
9+
810
from frequenz.channels import Anycast, Sender, merge
911

1012

13+
@pytest.mark.integration
1114
async def test_merge() -> None:
1215
"""Ensure merge() receives messages in order."""
1316
chan1 = Anycast[int](name="chan1")

0 commit comments

Comments
 (0)