diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2024-01-04 17:30:01 +0300 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2024-01-04 19:04:32 +0300 |
commit | d77f50aab8f7727eebcfb122a10607f2f9f7d835 (patch) | |
tree | 26920c92fe37fff2744c570ea3b91b6037151be1 /test/test_calm.py | |
parent | 48dafae913459780cb081c8c31191ecbaf6b26f0 (diff) |
Isolate tests from a local repodir
This fixes the tests if a local /git/cygwin-packages happens to exist,
and adds some test coverage of code which examines repodir.
Diffstat (limited to 'test/test_calm.py')
-rwxr-xr-x | test/test_calm.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_calm.py b/test/test_calm.py index 819ce64..c494b76 100755 --- a/test/test_calm.py +++ b/test/test_calm.py @@ -149,6 +149,7 @@ class CalmTest(unittest.TestCase): args.dryrun = False args.force = True args.pkglist = 'testdata/pkglist/cygwin-pkg-maint' + args.repodir = 'testdata/repodir' try: shutil.rmtree(htdocs) @@ -421,6 +422,7 @@ class CalmTest(unittest.TestCase): args.inifile = os.path.join(args.rel_area, 'setup.ini') args.pkglist = 'testdata/pkglist/cygwin-pkg-maint' args.release = 'trial' + args.repodir = 'testdata/repodir' args.setup_version = '3.1415' args.stale = True |