def test_from_int_testnet(self): key = PrivateKey.from_int(PRIVATE_KEY_NUM, network='test') assert isinstance(key, PrivateKey) assert key.network == 'test' assert key.to_int() == PRIVATE_KEY_NUM
def test_from_int(self): key = PrivateKey.from_int(PRIVATE_KEY_NUM) assert isinstance(key, PrivateKey) assert key.to_int() == PRIVATE_KEY_NUM