Skip to content

Commit b2dede3

Browse files
committed
Cleanup
1 parent 8894f23 commit b2dede3

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

test/asynchronous/test_client_bulk_write.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
import os
1919
import sys
2020

21-
from bson import RawBSONDocument, encode
21+
from bson import encode
22+
from bson.raw_bson import RawBSONDocument
2223

2324
sys.path[0:0] = [""]
2425

test/mockupdb/test_id_ordering.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,9 @@
3333
pytestmark = pytest.mark.mockupdb
3434

3535

36+
# https://github.com/mongodb/specifications/blob/master/source/crud/tests/README.md#16-generated-document-identifiers-are-the-first-field-in-their-document
3637
class TestIdOrdering(PyMongoTestCase):
37-
def test_id_ordering(self):
38+
def test_16_generated_document_ids_are_first_field(self):
3839
server = MockupDB()
3940
server.autoresponds(
4041
"hello",

test/test_client_bulk_write.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
import os
1919
import sys
2020

21-
from bson import RawBSONDocument, encode
21+
from bson import encode
22+
from bson.raw_bson import RawBSONDocument
2223

2324
sys.path[0:0] = [""]
2425

0 commit comments

Comments
 (0)