Fixed ruff issues
This commit is contained in:
@@ -10,6 +10,7 @@ sys.path.insert(0, os.path.dirname(__file__))
|
||||
|
||||
from openttd import OpenTTDClient, OpenTTDAdminClient
|
||||
from openttd.protocol import OpenTTDProtocol, OpenTTDAdminProtocol
|
||||
import tests.test_e2e as test_e2e
|
||||
|
||||
# 1. Gather public functions dynamically at runtime using reflection
|
||||
classes = [OpenTTDClient, OpenTTDAdminClient, OpenTTDProtocol, OpenTTDAdminProtocol]
|
||||
@@ -48,7 +49,6 @@ for cls in classes:
|
||||
public_funcs[name] = has_params
|
||||
|
||||
# 2. Inspect E2E test module dynamically at runtime using reflection
|
||||
import tests.test_e2e as test_e2e
|
||||
|
||||
calls = {name: [] for name in public_funcs}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user