for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
import pytest
from groundwork_web.patterns import GwWebPattern
@pytest.fixture
def basicApp():
"""
Loads a basic groundwork application and returns it.
:return: app
from groundwork import App
from tests.test_plugins.empty_plugin import EmptyPlugin
app = App(plugins=[EmptyPlugin], strict=True)
app.plugins.activate(["EmptyPlugin"])
return app
def EmptyPlugin():
return EmptyPlugin
def WebPlugin():
from tests.test_plugins.web_plugin import WebPlugin
return WebPlugin
def WebDatabasePlugin():
from tests.test_plugins.web_database_plugin import WebDatabasePlugin
return WebDatabasePlugin