spelling fix and cleaned up tox.ini

This commit is contained in:
Lex Berezhny 2018-06-13 21:37:02 -04:00
parent f0ecf58752
commit b7cbe16159
2 changed files with 7 additions and 7 deletions

View file

@ -7,7 +7,7 @@ class BasicTransactionTests(IntegrationTestCase):
VERBOSE = True
async def test_sending_and_recieving(self):
async def test_sending_and_receiving(self):
account1, account2 = self.account, self.wallet.generate_account(self.ledger)
await account1.ensure_address_gap().asFuture(asyncio.get_event_loop())

12
tox.ini
View file

@ -1,14 +1,14 @@
[tox]
envlist = py27,py36-{torba.coin.bitcoincash,torba.coin.bitcoinsegwit}
envlist = py{27,36}-unit,py36-integration-{torba.coin.bitcoincash,torba.coin.bitcoinsegwit}
[testenv]
deps =
coverage
py36: ../orchstr8
py36: ../electrumx
py36-integration: ../orchstr8
py36-integration: ../electrumx
extras = test
changedir = {toxinidir}/tests
setenv = py36: LEDGER={envname}
setenv = py36-integration: LEDGER={envname}
commands =
coverage run -p --source={envsitepackagesdir}/torba -m twisted.trial unit
py36: coverage run -p --source={envsitepackagesdir}/torba -m twisted.trial --reactor=asyncio integration
py{27,36}-unit: coverage run -p --source={envsitepackagesdir}/torba -m twisted.trial unit
py36-integration: coverage run -p --source={envsitepackagesdir}/torba -m twisted.trial --reactor=asyncio integration