1
0
Fork 0

Lint Flexpool tests

Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
Julien Riou 2021-02-15 16:57:17 +01:00
parent 1e2ef88c64
commit 4cd278c60e
No known key found for this signature in database
GPG key ID: FF42D23B580C89F7

View file

@ -1,9 +1,9 @@
from companion.pools.flexpool import FlexpoolHandler, Miner, Transaction
from datetime import datetime, timedelta
import pytest
from companion.pools.flexpool import FlexpoolHandler, Transaction
class TestFlexpoolHandler:
# def test_block(self, mocker):
def test_init(self):
handler = FlexpoolHandler()
assert handler.pool_name == 'flexpool'