Wireless-Innovation-Forum / 6-GHz-AFC

This repository contains code and data for testing the compliance of Automated Frequency Coordinator (AFC) software. The AFC is defined by the FCC in proceeding 18-295 on Unlicensed Use of the 6 GHz Band. This repository contains procedures, documentation, and tests for such software, and for the devices authorized by it. To contribute, please first read the CONTRIBUTING file in the repository for instructions.
14 stars 3 forks source link

Logging parameters are incorrectly handled in Response Mask Validator #16

Closed AEgbert closed 1 year ago

AEgbert commented 1 year ago

In response_maskvalidator.py, the __init_\ call parameters are incorrectly passed up the inheritance chain (line 34) as:

super().init(args, kwargs)

This should be:

super().init(*args, **kwargs)

Without this fix, the current usage in test_main.py incorrectly assigns the intended Logger object to the echo_log field, bypassing the file/console logs and printing directly to the console instead.

I'll pull in a fix for this issue shortly.