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
81880bef
Commit
81880bef
authored
6 years ago
by
Travis Ralston
Browse files
Options
Downloads
Patches
Plain Diff
It helps to import things
parent
4acb6fe8
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/test_terms_auth.py
+16
-0
16 additions, 0 deletions
tests/test_terms_auth.py
with
16 additions
and
0 deletions
tests/test_terms_auth.py
+
16
−
0
View file @
81880bef
...
...
@@ -12,6 +12,22 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import
json
import
six
from
mock
import
Mock
from
twisted.test.proto_helpers
import
MemoryReactorClock
from
synapse.api.errors
import
InteractiveAuthIncompleteError
from
synapse.http.server
import
JsonResource
from
synapse.rest.client.v2_alpha.register
import
register_servlets
from
synapse.util
import
Clock
from
tests
import
unittest
from
tests.server
import
make_request
,
render
,
setup_test_homeserver
class
TermsTestCase
(
unittest
.
HomeserverTestCase
):
servlets
=
[
register_servlets
]
...
...
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