Beispiel #1
0
 def setUp(self):
     clear('basic-app')
     build_sample('basic-app')
     deploy_sample('basic-app')
     self.deployed_app = os.path.join(
         os.path.dirname(__file__),
         'filesys', 'deployed', 'basic-app', 'live')
Beispiel #2
0
 def setUp(self):
     build_sample('configs')
     build_sample('config-template')
     deploy_sample('config-template')
     self.deployed_app = os.path.join(
         os.path.dirname(__file__),
         'filesys', 'deployed', 'config-template', 'live')
Beispiel #3
0
    def setUp(self):
        clear('basic-app')
        build_sample('basic-app')
        deploy_sample('basic-app')

        self.flask_app = create_app(deployconf_fn)

        self.username = self.flask_app.config.server.username
        self.password = self.flask_app.config.server.password

        self.auth_header = {
            'Authorization': 'Basic ' + base64.b64encode(
                '%s:%s' % (self.username, self.password))
        }

        self.app = self.flask_app.test_client()
Beispiel #4
0
 def setUp(self):
     build_sample('configs')
     build_sample('django-app')
     deploy_sample('django-app')
Beispiel #5
0
 def setUp(self):
     self.clear_confs()
     build_sample('configs')
     build_sample('apache-hosted-django-multisite')
     deploy_sample('apache-hosted-django-multisite')
Beispiel #6
0
 def setUp(self):
     self.clear_confs()
     build_sample("configs")
     build_sample("apache-missingsites")
     build_sample("apache-whitelabel")
     deploy_sample("apache-whitelabel")
Beispiel #7
0
 def setUp(self):
     self.clear_confs()
     build_sample("configs")
     build_sample("apache-app")
     build_sample("apache-missingconfs")
     deploy_sample("apache-app")
Beispiel #8
0
 def setUp(self):
     build_sample('configs')
     build_sample('nginx-app')
     deploy_sample('nginx-app')
Beispiel #9
0
 def setUp(self):
     self.clear_confs()
     build_sample('configs')
     build_sample('apache-missingsites')
     build_sample('apache-whitelabel')
     deploy_sample('apache-whitelabel')
Beispiel #10
0
 def setUp(self):
     self.clear_confs()
     build_sample('configs')
     build_sample('apache-app')
     build_sample('apache-missingconfs')
     deploy_sample('apache-app')
Beispiel #11
0
 def setUp(self):
     self.clear_confs()
     build_sample('configs')
     build_sample('django-app')
     deploy_sample('django-app')