diff options
author | Matthew Hodgson <matthew@matrix.org> | 2014-08-13 03:32:18 +0100 |
---|---|---|
committer | Matthew Hodgson <matthew@matrix.org> | 2014-08-13 03:32:18 +0100 |
commit | 3e35a9f96eae1720afbbd754f9e96e62070197d0 (patch) | |
tree | 687e2201b8847b961896d493acc8c8e3ad8410c8 /tests/rest | |
parent | add in whitespace after copyright statements to improve legibility (diff) | |
download | synapse-3e35a9f96eae1720afbbd754f9e96e62070197d0.tar.xz |
add in copyrights to everything, not just the synapse subdir, and add a copyrighter.pl whilst we're at it
Diffstat (limited to 'tests/rest')
-rw-r--r-- | tests/rest/__init__.py | 14 | ||||
-rw-r--r-- | tests/rest/test_events.py | 14 | ||||
-rw-r--r-- | tests/rest/test_presence.py | 14 | ||||
-rw-r--r-- | tests/rest/test_profile.py | 14 | ||||
-rw-r--r-- | tests/rest/test_rooms.py | 14 | ||||
-rw-r--r-- | tests/rest/utils.py | 14 |
6 files changed, 84 insertions, 0 deletions
diff --git a/tests/rest/__init__.py b/tests/rest/__init__.py index 40a96afc6f..2216c0f1ca 100644 --- a/tests/rest/__init__.py +++ b/tests/rest/__init__.py @@ -1 +1,15 @@ # -*- coding: utf-8 -*- +# Copyright 2014 matrix.org +# +# 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. + diff --git a/tests/rest/test_events.py b/tests/rest/test_events.py index fa40e049ea..e1b3cb4ddf 100644 --- a/tests/rest/test_events.py +++ b/tests/rest/test_events.py @@ -1,4 +1,18 @@ # -*- coding: utf-8 -*- +# Copyright 2014 matrix.org +# +# 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. + """ Tests REST events for /events paths.""" from twisted.trial import unittest diff --git a/tests/rest/test_presence.py b/tests/rest/test_presence.py index 3a2e86e5c4..5b1e060c5f 100644 --- a/tests/rest/test_presence.py +++ b/tests/rest/test_presence.py @@ -1,4 +1,18 @@ # -*- coding: utf-8 -*- +# Copyright 2014 matrix.org +# +# 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. + """Tests REST events for /presence paths.""" from twisted.trial import unittest diff --git a/tests/rest/test_profile.py b/tests/rest/test_profile.py index 13342b61e5..46e6137775 100644 --- a/tests/rest/test_profile.py +++ b/tests/rest/test_profile.py @@ -1,4 +1,18 @@ # -*- coding: utf-8 -*- +# Copyright 2014 matrix.org +# +# 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. + """Tests REST events for /profile paths.""" from twisted.trial import unittest diff --git a/tests/rest/test_rooms.py b/tests/rest/test_rooms.py index 29e82fc13c..86025103db 100644 --- a/tests/rest/test_rooms.py +++ b/tests/rest/test_rooms.py @@ -1,4 +1,18 @@ # -*- coding: utf-8 -*- +# Copyright 2014 matrix.org +# +# 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. + """Tests REST events for /rooms paths.""" # twisted imports diff --git a/tests/rest/utils.py b/tests/rest/utils.py index 7e4e570eff..a543f049c4 100644 --- a/tests/rest/utils.py +++ b/tests/rest/utils.py @@ -1,4 +1,18 @@ # -*- coding: utf-8 -*- +# Copyright 2014 matrix.org +# +# 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. + # twisted imports from twisted.internet import defer |