Commit 503769e5 authored by Dmitry Volodin's avatar Dmitry Volodin
Browse files

PEP8

parent 78881d3f
......@@ -368,6 +368,7 @@ def test_filter_id():
assert DataStream.filter_id(10) == {"_id": 10}
assert DataStream.filter_id(10, 11) == {"_id": {"$in": [10, 11]}}
def test_filter_shard():
assert DataStream.filter_shard(1, 3) == {"_id": {"$mod": [3, 1]}}
assert DataStream.filter_shard("1", "3") == {"_id": {"$mod": [3, 1]}}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment