test: configure Travis for CI
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user