mirror of
https://github.com/ChristianLight/tutor.git
synced 2025-02-04 18:28:26 +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)
|
env1 = env.Renderer.environment(config)
|
||||||
|
|
||||||
with unittest.mock.patch.object(
|
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
|
# Load env a second time
|
||||||
config["PLUGINS"].append("myplugin")
|
config["PLUGINS"].append("myplugin")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user