mirror of
https://github.com/illiumst/marl-factory-grid.git
synced 2025-07-05 09:01:36 +02:00
added test hooks (like rules)
This commit is contained in:
@ -161,8 +161,8 @@ class FactoryConfigParser(object):
|
||||
|
||||
return self._load_smth(rules, Rule)
|
||||
|
||||
def load_env_tests(self) -> List[Rule]:
|
||||
return self._load_smth(self.tests, None) # Test
|
||||
def load_env_tests(self) -> List[Test]:
|
||||
return self._load_smth(self.tests, Test)
|
||||
|
||||
def _load_smth(self, config, class_obj):
|
||||
rules = list()
|
||||
|
Reference in New Issue
Block a user