diff --git a/test/test_scanner.py b/test/test_scanner.py index f22f1a21e7..cb21907721 100644 --- a/test/test_scanner.py +++ b/test/test_scanner.py @@ -194,12 +194,12 @@ def condensed_filepath(self, url, package_name): # Check if we've already made a condensed version of the file, if we # have, we're done. condensed_path = condensed_dir / (package_name + ".tar.gz") - if condensed_path.is_file: + if condensed_path.is_file(): return str(condensed_path) # Download the file if we don't have a condensed version of it and we # don't have it downloaded already download_path = downloads_dir / package_name - if not download_path.is_file: + if not download_path.is_file(): download_file(url + package_name, download_path) # Make the condensed version of the file self.make_condensed_from_download(str(download_path), str(condensed_path))