Exemplo n.º 1
0
def pdf_exists(quteproc, tmpdir, filename):
    path = tmpdir / filename
    data = path.read_binary()
    assert data.startswith(b'%PDF')
Exemplo n.º 2
0
def pdf_exists(quteproc, tmpdir, filename):
    path = tmpdir / filename
    data = path.read_binary()
    assert data.startswith(b'%PDF')
Exemplo n.º 3
0
def prebuilt_zip(stacker_fixture_dir):
    path = stacker_fixture_dir.join('test.zip')
    content = path.read_binary()
    md5 = 'c6fb602d9bde5a522856adabe9949f63'
    return dict(path=path, md5=md5, contents=content)