This repository has been archived on 2025-07-31. You can view files and clone it, but cannot push or open issues or pull requests.
Files
fbchat/tests/test_tests.py
Mads Marquart d06ff7078a Mark existing tests as online
- Remove `offline` and `expensive` markers
2019-09-10 10:59:01 +02:00

11 lines
218 B
Python

import pytest
pytestmark = pytest.mark.online
def test_catch_event(client2, catch_event):
mid = "test"
with catch_event("on_message") as x:
client2.on_message(mid=mid)
assert x.res["mid"] == mid