mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-06 11:44:11 -04:00
run isort
This commit is contained in:
parent
2ee9f1bd1a
commit
49af402019
334 changed files with 1749 additions and 1668 deletions
|
@ -14,18 +14,22 @@
|
|||
# limitations under the License.
|
||||
|
||||
|
||||
from tests import unittest
|
||||
|
||||
from mock import Mock, call
|
||||
|
||||
from synapse.api.constants import PresenceState
|
||||
from synapse.handlers.presence import (
|
||||
handle_update, handle_timeout,
|
||||
IDLE_TIMER, SYNC_ONLINE_TIMEOUT, LAST_ACTIVE_GRANULARITY, FEDERATION_TIMEOUT,
|
||||
FEDERATION_PING_INTERVAL,
|
||||
FEDERATION_TIMEOUT,
|
||||
IDLE_TIMER,
|
||||
LAST_ACTIVE_GRANULARITY,
|
||||
SYNC_ONLINE_TIMEOUT,
|
||||
handle_timeout,
|
||||
handle_update,
|
||||
)
|
||||
from synapse.storage.presence import UserPresenceState
|
||||
|
||||
from tests import unittest
|
||||
|
||||
|
||||
class PresenceUpdateTestCase(unittest.TestCase):
|
||||
def test_offline_to_online(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue