Skip to content

Commit

Permalink
use jsonrpc config only for jsonrpc tests
Browse files Browse the repository at this point in the history
  • Loading branch information
OTaufer committed Nov 30, 2018
1 parent 72ea3ae commit 4a265a1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ env:
- FLASK_PROFILER_TEST_CONF=sqlite
- FLASK_PROFILER_TEST_CONF=mongodb
- FLASK_PROFILER_TEST_CONF=sqlalchemy
- FLASK_PROFILER_TEST_CONF=jsonrpc

install:
- pip install flask
Expand Down
2 changes: 1 addition & 1 deletion tests/basetest.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def customProfilerEP(message):

class JsonrpcBaseTest(unittest.TestCase):

CONF = _CONFS[environ.get('FLASK_PROFILER_TEST_CONF', 'jsonrpc')]
CONF = _CONFS['jsonrpc']

def setUp(self):
flask_profiler.collection.truncate()
Expand Down

0 comments on commit 4a265a1

Please sign in to comment.