Пример #1
0
def test_printing_not_found(cdb, set_code, name, set_number, multiverseid):
    printing = counts.find_printing(
        cdb=cdb,
        set_code=set_code,
        name=name,
        set_number=set_number,
        multiverseid=multiverseid,
    )
    assert printing is None
Пример #2
0
def test_found_printing(cdb, set_code, name, set_number, multiverseid,
                        found_id):
    printing = counts.find_printing(
        cdb=cdb,
        set_code=set_code,
        name=name,
        set_number=set_number,
        multiverseid=multiverseid,
    )
    assert printing.id_ == found_id
Пример #3
0
def test_found_printing(cdb, set_code, name, set_number, multiverseid,
                        found_id):
    printing = counts.find_printing(
        cdb=cdb, set_code=set_code, name=name, set_number=set_number,
        multiverseid=multiverseid)
    assert printing.id_ == found_id
Пример #4
0
def test_printing_not_found(cdb, set_code, name, set_number, multiverseid):
    printing = counts.find_printing(
        cdb=cdb, set_code=set_code, name=name, set_number=set_number,
        multiverseid=multiverseid)
    assert printing is None