Skip to content

Commit a26abf7

Browse files
committed
Fix cachedir import in test files
1 parent ac34dbc commit a26abf7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/test_cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import logging
77
import subprocess
88
from cve_bin_tool.cli import main
9-
import cve_bin_tool.cvedb # for disk location default
9+
from cve_bin_tool.cvedb import DISK_LOCATION_DEFAULT
1010
from cve_bin_tool.extractor import Extractor
1111

1212
from .utils import (

test/test_json.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
from jsonschema import validate
1414
from jsonschema.exceptions import ValidationError
1515
from test.utils import LONG_TESTS
16-
import cve_bin_tool.cvedb # for default disk location
16+
from cve_bin_tool.cvedb import DISK_LOCATION_DEFAULT
1717

1818
# Try python3 dependency, fall back if not available
1919
try:

0 commit comments

Comments
 (0)