mirror of
https://github.com/ChristianLight/tutor.git
synced 2025-01-26 06:28:24 +00:00
Fox test_env formatting
This commit is contained in:
parent
a94cbc2914
commit
2c01c8cc01
@ -135,7 +135,9 @@ class EnvTests(unittest.TestCase):
|
||||
env1 = env.Renderer.environment(config)
|
||||
|
||||
with unittest.mock.patch.object(
|
||||
env.plugins, "iter_templates", return_value=[("myplugin", plugin_templates)]
|
||||
env.plugins,
|
||||
"iter_templates",
|
||||
return_value=[("myplugin", plugin_templates)],
|
||||
):
|
||||
# Load env a second time
|
||||
config["PLUGINS"].append("myplugin")
|
||||
|
Loading…
x
Reference in New Issue
Block a user