test: configure Travis for CI
This commit is contained in:
parent
1c8beba80b
commit
178fe65fb2
8 changed files with 104 additions and 38 deletions
11
tests/conftest.py
Normal file
11
tests/conftest.py
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
import pytest
|
||||
|
||||
from lnbits import app
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def client():
|
||||
app.config["TESTING"] = True
|
||||
|
||||
with app.test_client() as client:
|
||||
yield client
|
||||
Loading…
Add table
Add a link
Reference in a new issue