.travis.yml

This commit is contained in:
Lex Berezhny 2019-05-04 23:47:28 -04:00
parent 93d2173fad
commit 74a9e17178
2 changed files with 2 additions and 2 deletions

View file

@ -29,7 +29,7 @@ jobs:
- name: "Integration Tests" - name: "Integration Tests"
install: install:
- pip install tox-travis coverage - pip install tox-travis coverage
- pushd .. && git clone --single-branch --branch sqltrie https://github.com/lbryio/torba.git && popd - pushd .. && git clone --single-branch --branch sqltrie https://github.com/lbryio/torba.git && git branch && popd
script: tox script: tox
after_success: after_success:
- coverage combine tests/ - coverage combine tests/

View file

@ -7,7 +7,7 @@ class TestClaimtrie(CommandTestCase):
return tx['outputs'][0]['claim_id'] return tx['outputs'][0]['claim_id']
async def assertWinningClaim(self, name, tx): async def assertWinningClaim(self, name, tx):
other = (await self.out(self.daemon.jsonrpc_claim_search(name=name, is_controlling=True)))['items'][0] other = (await self.resolve(name))[name]
self.assertEqual(self.get_claim_id(tx), other['claim_id']) self.assertEqual(self.get_claim_id(tx), other['claim_id'])
async def test_designed_edge_cases(self): async def test_designed_edge_cases(self):