from app.repositories import make_id


def test_should_have_correct_length(app):
    app.config['PASTE_ID_LENGTH'] = 4
    with app.app_context():
        id = make_id()
        assert len(id) == 4

e4ce4a186a468b8a8429afad74a19e6e9205767c
<mask token>

<mask token>


def test_should_have_correct_length(app):
    app.config['PASTE_ID_LENGTH'] = 4
    with app.app_context():
        id = make_id()
        assert len(id) == 4

from app.repositories import make_id


def test_should_have_correct_length(app):
    app.config['PASTE_ID_LENGTH'] = 4
    with app.app_context():
        id = make_id()
        assert len(id) == 4
