Skip to content

Commit

Permalink
tests: Fix test_app_failed_analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
maringuu committed Jul 10, 2023
1 parent cf41452 commit 5081618
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/test/unit/web_interface/test_app_show_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ class IntercomMock(CommonIntercomMock):
def add_single_file_task(self, task):
self.task_list.append(task)

@staticmethod
def get_available_analysis_plugins():
common_fields = ('0.0.', [], [], [], 1)
return {
'failed_analysis': ('plugin description', False, {'default': True}, *common_fields),
}


class DbMock(CommonDatabaseMock):
def get_object(self, uid, analysis_filter=None):
Expand Down

0 comments on commit 5081618

Please sign in to comment.