mirror of
https://github.com/lucaspalomodevelop/eventcally.git
synced 2026-03-13 08:09:37 +00:00
Deployment with docker compose #376
This commit is contained in:
parent
61f3f5dbaf
commit
c55183cfb7
@ -15,7 +15,7 @@ from flask_wtf.csrf import CSRFProtect
|
||||
from project.custom_session_interface import CustomSessionInterface
|
||||
|
||||
|
||||
def getenv_bool(name: str, default: str = "False"):
|
||||
def getenv_bool(name: str, default: str = "False"): # pragma: no cover
|
||||
return os.getenv(name, default).lower() in ("true", "1", "t")
|
||||
|
||||
|
||||
|
||||
@ -12,6 +12,10 @@ def test_home(client, seeder, utils):
|
||||
utils.assert_response_redirect(response, "home")
|
||||
|
||||
|
||||
def test_up(app, utils):
|
||||
utils.get_ok("up")
|
||||
|
||||
|
||||
def test_organizations(client, seeder, utils):
|
||||
url = utils.get_url("organizations")
|
||||
utils.get_ok(url)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user