Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Matrix
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Operate
Environments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeDomum
Matrix
Commits
a47fac9a
Commit
a47fac9a
authored
6 years ago
by
Jason Robinson
Browse files
Options
Downloads
Patches
Plain Diff
Fix sorting of imports in tests. Remove an unnecessary mock
Signed-off-by:
Jason Robinson
<
jasonr@matrix.org
>
parent
db33634b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/app/test_openid_listener.py
+2
-2
2 additions, 2 deletions
tests/app/test_openid_listener.py
with
2 additions
and
2 deletions
tests/app/test_openid_listener.py
+
2
−
2
View file @
a47fac9a
...
...
@@ -12,7 +12,8 @@
# 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.
from
mock
import
patch
,
Mock
from
mock
import
Mock
,
patch
from
parameterized
import
parameterized
from
synapse.app.federation_reader
import
FederationReaderServer
...
...
@@ -21,7 +22,6 @@ from synapse.app.homeserver import SynapseHomeServer
from
tests.unittest
import
HomeserverTestCase
@patch
(
"
synapse.app.homeserver.KeyApiV2Resource
"
,
new
=
Mock
())
class
FederationReaderOpenIDListenerTests
(
HomeserverTestCase
):
def
make_homeserver
(
self
,
reactor
,
clock
):
hs
=
self
.
setup_test_homeserver
(
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment