mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-24 07:04:12 -04:00
Have all unit tests import from our own subclass of trial's unittest TestCase; set up logging in ONE PLACE ONLY
This commit is contained in:
parent
958b52596c
commit
cd62ee3f29
21 changed files with 52 additions and 61 deletions
|
@ -15,7 +15,7 @@
|
|||
|
||||
|
||||
from twisted.internet import defer
|
||||
from twisted.trial import unittest
|
||||
from tests import unittest
|
||||
|
||||
from synapse.api.events.room import (
|
||||
InviteJoinEvent, RoomMemberEvent, RoomConfigEvent
|
||||
|
@ -27,10 +27,6 @@ from synapse.server import HomeServer
|
|||
|
||||
from mock import Mock, NonCallableMock
|
||||
|
||||
import logging
|
||||
|
||||
logging.getLogger().addHandler(logging.NullHandler())
|
||||
|
||||
|
||||
class RoomMemberHandlerTestCase(unittest.TestCase):
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue