mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-01-20 05:50:36 +00:00
chore: ensure alphabetical sort order for object loading
Attempts to fix random test failures ...
This commit is contained in:
@@ -139,7 +139,7 @@ class IResolver:
|
||||
:return: object class
|
||||
"""
|
||||
logger.debug(f"Searching for {cls.object_type.__name__} {object_name} in '{directory}'")
|
||||
for entry in directory.iterdir():
|
||||
for entry in sorted(directory.iterdir()):
|
||||
# Only consider python files
|
||||
if entry.suffix != ".py":
|
||||
logger.debug("Ignoring %s", entry)
|
||||
|
||||
Reference in New Issue
Block a user