Skip to content

Commit 4a265a1

Browse files
committed
use jsonrpc config only for jsonrpc tests
1 parent 72ea3ae commit 4a265a1

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.travis.yml

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ env:
99
- FLASK_PROFILER_TEST_CONF=sqlite
1010
- FLASK_PROFILER_TEST_CONF=mongodb
1111
- FLASK_PROFILER_TEST_CONF=sqlalchemy
12-
- FLASK_PROFILER_TEST_CONF=jsonrpc
1312

1413
install:
1514
- pip install flask

tests/basetest.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def customProfilerEP(message):
146146

147147
class JsonrpcBaseTest(unittest.TestCase):
148148

149-
CONF = _CONFS[environ.get('FLASK_PROFILER_TEST_CONF', 'jsonrpc')]
149+
CONF = _CONFS['jsonrpc']
150150

151151
def setUp(self):
152152
flask_profiler.collection.truncate()

0 commit comments

Comments
 (0)