Conditions | 1 |
Total Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | import pytest |
||
4 | @pytest.fixture |
||
5 | def basicApp(): |
||
6 | """ |
||
7 | Loads a basic groundwork application and returns it. |
||
8 | :return: app |
||
9 | """ |
||
10 | from groundwork import App |
||
11 | from tests.test_plugins.empty_plugin import EmptyPlugin |
||
12 | |||
13 | app = App(plugins=[EmptyPlugin], strict=True) |
||
14 | app.plugins.activate(["EmptyPlugin"]) |
||
15 | return app |
||
16 | |||
32 | return WebDatabasePlugin |