This repository has been archived on 2026-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
SpideyDetector/modules/test_size.py

12 lines
316 B
Python

import os
from modules import test_template
class SizeCheck(test_template.TestWalkTemplateSimpleFunction):
def __init__(self, thread_parameters):
"""
Simple test runner, compare file size to known good values.
"""
super().__init__(thread_parameters, os.path.getsize, " bytes")