diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2019-01-29 12:07:00 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-29 12:07:00 +0000 |
commit | 5488cadaae37af4e6d4f847f6eddb38eca6e7c04 (patch) | |
tree | 681865776d1afd7e05921b1356251541addd9164 /tests/test_utils/__init__.py | |
parent | Merge pull request #4496 from matrix-org/erikj/invite_fallback (diff) | |
download | synapse-5488cadaae37af4e6d4f847f6eddb38eca6e7c04.tar.xz |
Enable configuring test log level via env var (#4506)
I got fed up with always adding '@unittest.DEBUG' every time I needed to debug a test.
Diffstat (limited to 'tests/test_utils/__init__.py')
-rw-r--r-- | tests/test_utils/__init__.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/test_utils/__init__.py b/tests/test_utils/__init__.py new file mode 100644 index 0000000000..a7310cf12a --- /dev/null +++ b/tests/test_utils/__init__.py @@ -0,0 +1,18 @@ +# -*- coding: utf-8 -*- +# Copyright 2019 New Vector 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. + +""" +Utilities for running the unit tests +""" |