We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d83a100 commit 7671303Copy full SHA for 7671303
test/test_operations.py
@@ -1,4 +1,4 @@
1
-# Copyright 2009-present MongoDB, Inc.
+# Copyright 2009-2024 MongoDB, Inc.
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.
@@ -70,6 +70,10 @@ class TestSearchIndexModel(TestOperationsBase):
70
71
def test_repr(self):
72
self.assertRepr(SearchIndexModel({"hello": "hello"}, key=1))
73
+ self.assertEqual(
74
+ repr(SearchIndexModel({"hello": "hello"}, key=1)),
75
+ "SearchIndexModel(definition={'hello': 'hello'}, key=1)",
76
+ )
77
78
79
if __name__ == "__main__":
0 commit comments