def test_render_full(self): defaults = tutor_config.load_defaults() with tempfile.TemporaryDirectory() as root: env.render_full(root, defaults) self.assertTrue(os.path.exists(os.path.join(root, "env", "version"))) self.assertTrue( os.path.exists(os.path.join(root, "env", "local", "docker-compose.yml")) )
def test_render_full_with_https(self): defaults = tutor_config.load_defaults() defaults["ACTIVATE_HTTPS"] = True with tempfile.TemporaryDirectory() as root: env.render_full(root, defaults)
def test_render_full(self): defaults = tutor_config.load_defaults() with tempfile.TemporaryDirectory() as root: env.render_full(root, defaults)