Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit ed635d3

Browse files
authored
Add a license header and comment. (#11479)
1 parent 7b62791 commit ed635d3

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

changelog.d/11479.feature

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add plugin support for controlling database background updates.

tests/storage/test_background_update.py

+15
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
# Copyright 2021 The Matrix.org Foundation C.I.C.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
# Use backported mock for AsyncMock support on Python 3.6.
116
from mock import Mock
217

318
from twisted.internet.defer import Deferred, ensureDeferred

0 commit comments

Comments
 (0)