Conditions | 1 |
Total Lines | 8 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | """Integration tests configuration file.""" |
||
21 | @pytest.yield_fixture |
||
22 | def public_client(app): # pylint: disable=redefined-outer-name |
||
23 | backup = app.config['WATERMARK_OPTIONS'] |
||
24 | app.config['WATERMARK_OPTIONS'] = ['memegen.link'] |
||
25 | |||
26 | yield app.test_client() |
||
27 | |||
28 | app.config['WATERMARK_OPTIONS'] = backup |
||
29 |