def test_all_once(self): args = [None, '-rct', TEST_FILES_DST] res = cli.run(args) self.assertTrue(res)
def test_all_once(self): args = [None, '-rct', TEST_FILES_DST] cli.run(args)
def test_walk_images(self): args = [None] + glob.glob(TEST_FILES_DST+'/*') res = cli.run(args) self.assertTrue(res)
def test_all_once() -> None: setup() args = ("", "-rct", str(TMP_ROOT)) res = cli.run(args) assert res teardown()
def test_walk_images(self): args = [None] + glob.glob(TEST_FILES_DST+'/*') cli.run(args)
def test_walk_images() -> None: setup() args = tuple("") + tuple(map(str, TMP_ROOT.glob("*"))) res = cli.run(args) assert res teardown()
#!/usr/bin/env python3 """Development runner.""" import sys from picopt.cli import run if __name__ == "__main__": run(tuple(sys.argv))
def test_small_comic(self): args = [None, "-rct", TEST_SMALL_COMIC] cli.run(args)
def test_small_comic(self): args = [None, '-rct', TEST_SMALL_COMIC] res = cli.run(args) self.assertTrue(res)
def test_small_comic(self): args = [None, '-rct', TEST_SMALL_COMIC] cli.run(args)