test: configure Travis for CI

This commit is contained in:
Eneko Illarramendi
2020-04-27 19:39:00 +02:00
parent 1c8beba80b
commit 178fe65fb2
8 changed files with 104 additions and 38 deletions
+11
View 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