Remove test debugs

This commit is contained in:
Erik Johnston 2019-08-20 11:46:54 +01:00
parent c03e3e8301
commit 7777d353bf
3 changed files with 0 additions and 3 deletions

View file

@ -20,7 +20,6 @@ from synapse.federation.federation_server import server_matches_acl_event
from tests import unittest from tests import unittest
@unittest.DEBUG
class ServerACLsTestCase(unittest.TestCase): class ServerACLsTestCase(unittest.TestCase):
def test_blacklisted_server(self): def test_blacklisted_server(self):
e = _create_acl_event({"allow": ["*"], "deny": ["evil.com"]}) e = _create_acl_event({"allow": ["*"], "deny": ["evil.com"]})

View file

@ -67,7 +67,6 @@ def get_connection_factory():
return test_server_connection_factory return test_server_connection_factory
@unittest.DEBUG
class MatrixFederationAgentTests(unittest.TestCase): class MatrixFederationAgentTests(unittest.TestCase):
def setUp(self): def setUp(self):
self.reactor = ThreadedMemoryReactorClock() self.reactor = ThreadedMemoryReactorClock()

View file

@ -74,7 +74,6 @@ class FilterEventsForServerTestCase(tests.unittest.TestCase):
self.assertEqual(events_to_filter[i].event_id, filtered[i].event_id) self.assertEqual(events_to_filter[i].event_id, filtered[i].event_id)
self.assertEqual(filtered[i].content["a"], "b") self.assertEqual(filtered[i].content["a"], "b")
@tests.unittest.DEBUG
@defer.inlineCallbacks @defer.inlineCallbacks
def test_erased_user(self): def test_erased_user(self):
# 4 message events, from erased and unerased users, with a membership # 4 message events, from erased and unerased users, with a membership