diff 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
line wrap: on
line diff
--- a/tasks.py	Mon Apr 04 11:25:05 2022 -0700
+++ b/tasks.py	Mon Apr 04 21:10:40 2022 -0700
@@ -19,7 +19,7 @@
 def test_forever(ctx, forever=True):
     watchdir = 'rdfdb'
     testdir = 'rdfdb'
-    ctx.run(f'pdm run pytest {testdir}', pty=True)  # ptw doesn't do an initial run
+    ctx.run(f'pdm run pytest {testdir}', pty=True, warn=True)  # ptw doesn't do an initial run
     if forever:
         ctx.run(f'pdm run ptw {watchdir} {testdir}', pty=True)