Improve get_miner (#43)
* feature: Start refactor to new style of get_miner. Needs testing and stability fixes. * feature: refactor to aiohttp and fix a lot of bugs with factory. Still needs support for some miners. * feature: refactor miner class list to be much more readable. * bug: remove some redundant .upper() calls. * bug: remove some redundant .upper() calls. * feature: add Avalonminer support in update miner factory, and add support for A1166 and A1246. * feature: refactor get_miner to allow models to be selected as strings then selected in the top level get_miner function. * bug: fix some naming issues, and add timeout to getting miner model. * bug: fix not instantiating some web sessions properly.
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
|
||||
import unittest
|
||||
|
||||
from tests.miners_tests import MinerFactoryTest, MinersTest
|
||||
# from tests.miners_tests import MinerFactoryTest, MinersTest
|
||||
from tests.network_tests import NetworkTest
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user