Ejemplo n.º 1
0
 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"))
         )
Ejemplo n.º 2
0
 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)
Ejemplo n.º 3
0
 def test_render_full(self):
     defaults = tutor_config.load_defaults()
     with tempfile.TemporaryDirectory() as root:
         env.render_full(root, defaults)