Mercurial > libervia-backend
comparison tests/unit/conftest.py @ 4071:4b842c1fb686
refactoring: renamed `sat` package to `libervia.backend`
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 02 Jun 2023 11:49:51 +0200 |
parents | 524856bd7b19 |
children | 040095a5dc7f |
comparison
equal
deleted
inserted
replaced
4070:d10748475025 | 4071:4b842c1fb686 |
---|---|
19 from contextlib import contextmanager | 19 from contextlib import contextmanager |
20 from unittest.mock import MagicMock, AsyncMock | 20 from unittest.mock import MagicMock, AsyncMock |
21 from pytest import fixture | 21 from pytest import fixture |
22 from twisted.internet import defer | 22 from twisted.internet import defer |
23 from twisted.words.protocols.jabber import jid | 23 from twisted.words.protocols.jabber import jid |
24 from sat.core.sat_main import SAT | 24 from libervia.backend.core.sat_main import SAT |
25 from sat.tools import async_trigger as trigger | 25 from libervia.backend.tools import async_trigger as trigger |
26 from sat.core import xmpp | 26 from libervia.backend.core import xmpp |
27 | 27 |
28 | 28 |
29 @fixture(scope="session") | 29 @fixture(scope="session") |
30 def bridge(): | 30 def bridge(): |
31 bridge = AsyncMock() | 31 bridge = AsyncMock() |