17 lines
602 B
Python
17 lines
602 B
Python
class SpideyTest:
|
|
def __init__(self, args, agnpath, test_data):
|
|
"""
|
|
Simple test runner, for testing the detection of Spidey viruses.
|
|
:param args: List of arguments
|
|
:type args: argparse.Namespace
|
|
:param agnpath: The path to the discord folder
|
|
:type agnpath: agnostic_path.AgnosticPath
|
|
:param test_data: The data to be tested
|
|
:type test_data: str
|
|
"""
|
|
self.ptb = args.ptb
|
|
self.agnostic_path = agnpath
|
|
self.os_name = agnpath.os
|
|
self.main_path = agnpath.main_path
|
|
self.test_data = test_data
|