diff --git a/tests/archivetests.py b/tests/archivetests.py index 232503c2..4c7ea06b 100644 --- a/tests/archivetests.py +++ b/tests/archivetests.py @@ -97,7 +97,7 @@ class ArchiveFileTestCase(testcase.TestCase): bctx = BuildContext("tests/pccts/pspec.xml") url = uri.URI(bctx.spec.source.archiveUri) targetDir = bctx.pkg_work_dir() - filePath = join(config.archives_dir(), url.filename()) + filePath = join(ctx.config.archives_dir(), url.filename()) # check cached if util.sha1_file(filePath) != bctx.spec.source.archiveSHA1: