comparison tasks.py @ 82:8a9f8dc65da8

fix existing tests. Note bytes->str on public api arg
author drewp@bigasterisk.com
date Mon, 04 Apr 2022 21:10:40 -0700
parents 8d3c3e7cfb54
children 12bffd51450f
comparison
equal deleted inserted replaced
81:8d3c3e7cfb54 82:8a9f8dc65da8
17 17
18 @task 18 @task
19 def test_forever(ctx, forever=True): 19 def test_forever(ctx, forever=True):
20 watchdir = 'rdfdb' 20 watchdir = 'rdfdb'
21 testdir = 'rdfdb' 21 testdir = 'rdfdb'
22 ctx.run(f'pdm run pytest {testdir}', pty=True) # ptw doesn't do an initial run 22 ctx.run(f'pdm run pytest {testdir}', pty=True, warn=True) # ptw doesn't do an initial run
23 if forever: 23 if forever:
24 ctx.run(f'pdm run ptw {watchdir} {testdir}', pty=True) 24 ctx.run(f'pdm run ptw {watchdir} {testdir}', pty=True)
25 25
26 26
27 @task 27 @task