summary refs log tree commit diff
path: root/tests/module_api/test_api.py
diff options
context:
space:
mode:
authorMichael Telatynski <7t3chguy@gmail.com>2022-06-01 15:08:26 +0100
committerMichael Telatynski <7t3chguy@gmail.com>2022-06-01 15:08:26 +0100
commit35d2211efeacc50465f593f2b4c89519cba9fc1f (patch)
tree5058f7bad81a410720a0cf350539aa570863586a /tests/module_api/test_api.py
parentUpdate to matrix-org/sonarcloud-workflow-action@v2.1 (diff)
parentMerge branch 'develop' into sonar (diff)
downloadsynapse-35d2211efeacc50465f593f2b4c89519cba9fc1f.tar.xz
Merge remote-tracking branch 't3chguy/sonar' into sonar
Diffstat (limited to 'tests/module_api/test_api.py')
-rw-r--r--tests/module_api/test_api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/module_api/test_api.py b/tests/module_api/test_api.py

index 8bc84aaaca..169e29b590 100644 --- a/tests/module_api/test_api.py +++ b/tests/module_api/test_api.py
@@ -399,7 +399,7 @@ class ModuleApiTestCase(HomeserverTestCase): for edu in edus: # Make sure we're only checking presence-type EDUs - if edu["edu_type"] != EduTypes.Presence: + if edu["edu_type"] != EduTypes.PRESENCE: continue # EDUs can contain multiple presence updates