Skip to content

Commit

Permalink
Merge pull request #3609 from lbryio/pin_scribe
Browse files Browse the repository at this point in the history
CI: pin scribe, fix exchange rate manager test
  • Loading branch information
shyba authored May 12, 2022
2 parents b8867cd + fd73412 commit d0e715f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
'jsonschema==4.4.0',
],
'scribe': [
'scribe @ git+https://github.com/lbryio/scribe.git#311db529a03de7fce43ed8579f51ac23a1a884ea'
'scribe @ git+https://github.com/lbryio/scribe.git@311db529a03de7fce43ed8579f51ac23a1a884ea'
]
},
classifiers=[
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/other/test_exchange_rate_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ async def test_exchange_rate_manager(self):
self.assertLessEqual(len(failures), 1, f"feed failures: {failures}. Please check exchange rate feeds!")
lbc = manager.convert_currency('USD', 'LBC', Decimal('1.0'))
self.assertGreaterEqual(lbc, 2.0)
self.assertLessEqual(lbc, 60.0)
self.assertLessEqual(lbc, 80.0)
lbc = manager.convert_currency('BTC', 'LBC', Decimal('0.01'))
self.assertGreaterEqual(lbc, 1_000)
self.assertLessEqual(lbc, 20_000)
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[testenv]
usedevelop = true
deps =
coverage
extras =
Expand Down

0 comments on commit d0e715f

Please sign in to comment.