fix: TestOutputEngine.test_output_json2
is failing due to missing cve_severity
table
#4903
Labels
bug
Something isn't working
Description:
The test
TestOutputEngine.test_output_json2
is failing with asqlite3.OperationalError
indicating that thecve_severity
table does not exist in the database. First noticed hereSteps to Reproduce:
TestOutputEngine.test_output_json2
.Expected Behavior:
The test should pass, and the
output_json2
function should successfully retrieve the count of CVE entries from thecve_severity
table.Actual Behavior:
The test fails with the following error:
Error Log:
Additional Context:
This issue might be related to the database initialization or migration process. It would be helpful to check if the database schema is up-to-date and if all necessary migrations have been applied or the test might be missing a fixture or setup step to create the required table.
Environment:
The text was updated successfully, but these errors were encountered: