Skip to content

Commit 347ca11

Browse files
committed
mock constants
1 parent 57ca0db commit 347ca11

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/test_generators_yaml.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,17 @@
1010
config.set_default_args()
1111

1212

13+
class MockSettings:
14+
def __init__(self):
15+
self.constants = {}
16+
17+
1318
class MockProblem:
1419
def __init__(self):
1520
self.path = Path(".")
1621
self._program_callbacks = dict()
1722
self._rules_cache = dict()
23+
self.settings = MockSettings()
1824

1925

2026
class MockGeneratorConfig(generate.GeneratorConfig):

0 commit comments

Comments
 (0)