mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-05 04:18:59 -04:00
Require types in tests.storage. (#14646)
Adds missing type hints to `tests.storage` package and does not allow untyped definitions.
This commit is contained in:
parent
94bc21e69f
commit
3ac412b4e2
36 changed files with 489 additions and 341 deletions
|
@ -31,7 +31,7 @@ from tests import unittest
|
|||
|
||||
|
||||
class TupleComparisonClauseTestCase(unittest.TestCase):
|
||||
def test_native_tuple_comparison(self):
|
||||
def test_native_tuple_comparison(self) -> None:
|
||||
clause, args = make_tuple_comparison_clause([("a", 1), ("b", 2)])
|
||||
self.assertEqual(clause, "(a,b) > (?,?)")
|
||||
self.assertEqual(args, [1, 2])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue