コード例 #1
0
def test_exists(collection):
    collection.insert_one({'username': '******'})
    assert not User.exists('me')
コード例 #2
0
def test_exists_not(collection):
    assert not User.exists('me')