Move client rest tests back under rest

pull/4/merge
Mark Haines 10 years ago
parent 97c68c508d
commit 53584420a5
  1. 0
      tests/rest/__init__.py
  2. 14
      tests/rest/client/__init__.py
  3. 0
      tests/rest/client/v1/__init__.py
  4. 2
      tests/rest/client/v1/test_events.py
  5. 2
      tests/rest/client/v1/test_presence.py
  6. 2
      tests/rest/client/v1/test_profile.py
  7. 2
      tests/rest/client/v1/test_rooms.py
  8. 2
      tests/rest/client/v1/test_typing.py
  9. 0
      tests/rest/client/v1/utils.py

@ -0,0 +1,14 @@
# -*- coding: utf-8 -*-
# Copyright 2015 OpenMarket Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

@ -25,7 +25,7 @@ import synapse.rest.client.v1.room
from synapse.server import HomeServer
from ...utils import MockHttpResource, SQLiteMemoryDbPool, MockKey
from ....utils import MockHttpResource, SQLiteMemoryDbPool, MockKey
from .utils import RestTestCase
from mock import Mock, NonCallableMock

@ -20,7 +20,7 @@ from twisted.internet import defer
from mock import Mock
from ...utils import MockHttpResource, MockKey
from ....utils import MockHttpResource, MockKey
from synapse.api.constants import PresenceState
from synapse.handlers.presence import PresenceHandler

@ -20,7 +20,7 @@ from twisted.internet import defer
from mock import Mock, NonCallableMock
from ...utils import MockHttpResource, MockKey
from ....utils import MockHttpResource, MockKey
from synapse.api.errors import SynapseError, AuthError
from synapse.server import HomeServer

@ -30,7 +30,7 @@ import json
import urllib
import types
from ...utils import MockHttpResource, SQLiteMemoryDbPool, MockKey
from ....utils import MockHttpResource, SQLiteMemoryDbPool, MockKey
from .utils import RestTestCase
from mock import Mock, NonCallableMock

@ -21,7 +21,7 @@ from twisted.internet import defer
import synapse.rest.client.v1.room
from synapse.server import HomeServer
from ...utils import MockHttpResource, MockClock, SQLiteMemoryDbPool, MockKey
from ....utils import MockHttpResource, MockClock, SQLiteMemoryDbPool, MockKey
from .utils import RestTestCase
from mock import Mock, NonCallableMock
Loading…
Cancel
Save