bug: Fix bad type hinting on ABCMeta instead of type.

This commit is contained in:
UpstreamData
2023-05-23 09:36:50 -06:00
parent ecc76d09af
commit 0c563ef538
2 changed files with 1 additions and 9 deletions

View File

@@ -69,13 +69,6 @@ class NetworkTest(unittest.TestCase):
self.assertTrue(net_1 == correct_net)
self.assertTrue(net_2 == correct_net)
def test_net_len(self):
net = MinerNetwork("192.168.1.0", mask=32)
self.assertEqual(len(net), 1)
net2 = MinerNetwork("192.168.1.0", mask=31)
self.assertEqual(len(net2), 2)
def test_net_defaults(self):
net = MinerNetwork()
net_obj = net.get_network()