feature: add dynamic version selection for whatsminers

This commit is contained in:
Brett Rowan
2025-08-15 13:39:36 -06:00
parent 3fa54213bf
commit 56ad6cbc6f
12 changed files with 448 additions and 384 deletions

View File

@@ -33,10 +33,7 @@ class MinersTest(unittest.TestCase):
miner_type=miner_type,
miner_model=miner_model,
):
miner = MINER_CLASSES[miner_type][miner_model]("127.0.0.1")
self.assertTrue(
isinstance(miner, MINER_CLASSES[miner_type][miner_model])
)
MINER_CLASSES[miner_type][miner_model]("127.0.0.1")
def test_miner_has_hashboards(self):
warnings.filterwarnings("ignore")