repo_id
stringclasses
409 values
prefix
large_stringlengths
34
36.3k
target
large_stringlengths
1
498
assertion_type
stringclasses
31 values
difficulty
stringclasses
8 values
test_file
stringlengths
10
121
test_function
stringlengths
1
104
test_class
stringlengths
0
51
lineno
int32
2
11.3k
commit_idx
int32
sissaschool/xmlschema
import sys import unittest import logging import warnings import pathlib import pickle import os from textwrap import dedent from xml.etree.ElementTree import Element import xmlschema from xmlschema import XMLSchemaParseError, XMLSchemaIncludeWarning, XMLSchemaImportWarning from xmlschema.names import XML_NAMESPACE, X...
'')
self.assertEqual
string_literal
tests/validators/test_schemas.py
test_target_prefix
TestXMLSchema10
112
null
sissaschool/xmlschema
import unittest import copy import pathlib from itertools import zip_longest from textwrap import dedent from typing import Any, Union, List, Optional from xmlschema import XMLSchema11 from xmlschema.exceptions import XMLSchemaValueError from xmlschema.validators.exceptions import XMLSchemaValidationError, XMLSchemaM...
b)
self.assertIs
variable
tests/validators/test_models.py
test_particle_occurs_check_methods
TestModelValidation
1,121
null
sissaschool/xmlschema
import unittest import sys import os import ntpath import pathlib import platform import posixpath import warnings from string import ascii_letters from urllib.parse import urlsplit from urllib.request import pathname2url from pathlib import Path, PurePath, PureWindowsPath, PurePosixPath from unittest.mock import patc...
'tns0')
self.assertEqual
string_literal
tests/test_locations.py
test_normalize_locations_function
TestLocations
733
null
sissaschool/xmlschema
import pathlib from textwrap import dedent from xmlschema import XMLSchemaParseError, XMLSchemaValidationError from xmlschema.validators import XMLSchema11, XsdAttribute, XsdAttributeGroup from xmlschema.testing import XsdValidatorTestCase from xmlschema.names import XSI_NAMESPACE, XSD_ANY_SIMPLE_TYPE, XSD_STRING cla...
3)
self.assertEqual
numeric_literal
tests/validators/test_attributes.py
test_attribute_group_reference
TestXsdAttributes
324
null
sissaschool/xmlschema
import sys import unittest import decimal import logging import warnings from collections import OrderedDict from xml.etree import ElementTree from xmlschema import XMLSchema, XMLSchemaParseError from xmlschema.names import XSD_NAMESPACE, XSI_NAMESPACE, XSD_SCHEMA, \ XSD_ELEMENT, XSD_SIMPLE_TYPE, XSD_ANNOTATION, X...
[])
self.assertListEqual
collection
tests/test_utils.py
test_etree_get_ancestors
TestUtils
352
null
sissaschool/xmlschema
import unittest import os import io import pathlib from xml.etree import ElementTree from xmlschema import XMLSchema, XMLResource, iter_errors from xmlschema.utils.etree import is_etree_element from xmlschema.validators.exceptions import XMLSchemaValidatorError, \ XMLSchemaNotBuiltError, XMLSchemaParseError, XMLSc...
root)
self.assertEqual
variable
tests/validators/test_exceptions.py
test_sourceline_property
TestValidatorExceptions
236
null
sissaschool/xmlschema
import io import unittest import os import contextlib import copy import pathlib import platform import warnings from io import StringIO, BytesIO from urllib.request import urlopen, build_opener, FileHandler from urllib.response import addinfourl from urllib.parse import urlsplit, uses_relative from pathlib import Path...
6)
self.assertEqual
numeric_literal
tests/test_resources.py
test_iterparse_argument_for_html
TestResources
1,508
null
sissaschool/xmlschema
import unittest import copy import xml.etree.ElementTree as ElementTree from pathlib import Path from typing import Dict from xmlschema import XMLSchema10, XMLSchema11, fetch_namespaces, etree_tostring, \ XMLSchemaValidationError, DataElement, DataElementConverter, XMLResource, \ XsdElement, XsdAttribute, XsdT...
0)
self.assertEqual
numeric_literal
tests/test_dataobjects.py
test_mutable_mapping_api
TestDataObjects
167
null
sissaschool/xmlschema
import sys import unittest import decimal import logging import warnings from collections import OrderedDict from xml.etree import ElementTree from xmlschema import XMLSchema, XMLSchemaParseError from xmlschema.names import XSD_NAMESPACE, XSI_NAMESPACE, XSD_SCHEMA, \ XSD_ELEMENT, XSD_SIMPLE_TYPE, XSD_ANNOTATION, X...
{})
self.assertEqual
collection
tests/test_utils.py
test_raw_encode_attributes_function
TestUtils
125
null
sissaschool/xmlschema
import decimal import pathlib import unittest from textwrap import dedent from xml.etree import ElementTree from elementpath import datatypes from elementpath.etree import etree_tostring from xmlschema import XMLSchemaEncodeError, XMLSchemaValidationError from xmlschema.converters import UnorderedConverter, JsonMLCon...
3)
self.assertEqual
numeric_literal
tests/validation/test_encoding.py
test_element_encoding_with_defaults__issue_218
TestEncoding
597
null
sissaschool/xmlschema
import unittest import os import base64 import json import math import pathlib from decimal import Decimal from collections.abc import MutableMapping, MutableSequence, Set from textwrap import dedent from xml.etree import ElementTree from elementpath import datatypes import xmlschema from xmlschema import XMLSchemaVal...
xd)
self.assertIn
variable
tests/validation/test_decoding.py
test_datatypes
TestDecoding
897
null
sissaschool/xmlschema
import unittest import decimal import pathlib from xml.etree import ElementTree from textwrap import dedent from xmlschema import XMLSchema10, XMLSchema11, XMLSchemaValidationError, \ XMLSchemaParseError from xmlschema.names import XSD_NAMESPACE, XSD_LENGTH, XSD_MIN_LENGTH, XSD_MAX_LENGTH, \ XSD_WHITE_SPACE, X...
2)
self.assertEqual
numeric_literal
tests/validators/test_facets.py
test_pattern_facet
TestXsdFacets
1,052
null
sissaschool/xmlschema
import unittest import os import io import pathlib import tempfile from decimal import Decimal from textwrap import dedent from xml.etree import ElementTree from xmlschema import XMLSchema10, XMLSchema11, XmlDocument, XMLResourceError, \ XMLSchemaValidationError, XMLSchemaDecodeError, to_json, from_json, validate,...
'')
self.assertEqual
string_literal
tests/test_documents.py
test_xml_document_init_without_schema
TestXmlDocuments
348
null
sissaschool/xmlschema
import sys import unittest import decimal import logging import warnings from collections import OrderedDict from xml.etree import ElementTree from xmlschema import XMLSchema, XMLSchemaParseError from xmlschema.names import XSD_NAMESPACE, XSI_NAMESPACE, XSD_SCHEMA, \ XSD_ELEMENT, XSD_SIMPLE_TYPE, XSD_ANNOTATION, X...
'')
self.assertEqual
string_literal
tests/test_utils.py
test_get_xsd_derivation_attribute
TestUtils
84
null
sissaschool/xmlschema
import unittest import os import io import pathlib import tempfile from decimal import Decimal from textwrap import dedent from xml.etree import ElementTree from xmlschema import XMLSchema10, XMLSchema11, XmlDocument, XMLResourceError, \ XMLSchemaValidationError, XMLSchemaDecodeError, to_json, from_json, validate,...
'text')
self.assertEqual
string_literal
tests/test_documents.py
test_get_context_without_schema
TestXmlDocuments
227
null
sissaschool/xmlschema
import unittest import warnings from typing import Any from xmlschema import XMLSchema10, XMLSchema11 from xmlschema.namespaces import NamespaceView import xmlschema.names as nm class TestXsd10GlobalsMaps(unittest.TestCase): schema_class = XMLSchema10 def setUpClass(cls): cls.schema_class.meta_schem...
len(v))
self.assertEqual
func_call
tests/validators/test_xsd_globals.py
test_copy
TestXsd10GlobalsMaps
161
null
sissaschool/xmlschema
import unittest import os import pathlib import platform import subprocess import sys import tempfile class TestMemoryUsage(unittest.TestCase): def get_memory_usage(output): if '-v' in sys.argv: sys.stdout.write(f'\n {output.strip()} ') return int(output.strip().rsplit('(')[-1][:-1]) ...
4.4 * 1024 ** 2)
self.assertLessEqual
complex_expr
tests/run_memory_tests.py
test_decode_memory_usage
TestMemoryUsage
96
null
sissaschool/xmlschema
import unittest import os import pathlib from xml.etree import ElementTree from elementpath import XPath1Parser, XPath2Parser, Selector, LazyElementNode from xmlschema import XMLSchema10, XMLSchema11 from xmlschema.names import XSD_NAMESPACE from xmlschema.xpath import XMLSchemaProxy, XPathElement, split_path, Elemen...
result)
self.assertEqual
variable
tests/test_xpath.py
test_split_path
XPathSelectorsTest
336
null
sissaschool/xmlschema
import pathlib from xmlschema import XMLSchemaParseError, XMLSchemaValidationError from xmlschema.names import XSD_LIST, XSD_UNION from xmlschema.validators import XMLSchema11 from xmlschema.testing import XsdValidatorTestCase class TestXsdSimpleTypes(XsdValidatorTestCase): cases_dir = pathlib.Path(__file__).par...
schema.types['emptyType2'].is_empty())
self.assertTrue
func_call
tests/validators/test_simple_types.py
test_is_empty
TestXsdSimpleTypes
175
null
sissaschool/xmlschema
import pathlib import warnings from xmlschema import XMLSchema11 from xmlschema import SchemaLoader, LocationSchemaLoader, SafeSchemaLoader from xmlschema.testing import XMLSchemaTestCase, run_xmlschema_tests from xmlschema import XMLSchemaParseError import xmlschema.names as nm class TestSchemaLoader(XMLSchemaTestCa...
2)
self.assertEqual
numeric_literal
tests/test_loaders.py
test_load_case1
TestSchemaLoader
99
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS from hdwallet.seeds import BIP39Seed def test_bip141_from_xpublic_key_compressed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdw...
dump["ecc"]
assert
complex_expr
tests/hdwallet/hdwallet/bip141/test_bip141_from_xpublic_key.py
test_bip141_from_xpublic_key_compressed
75
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS def test_bip141_from_private_key_compressed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdwallet"]["BIP141"]["compressed"]["cryp...
dump["ecc"]
assert
complex_expr
tests/hdwallet/hdwallet/bip141/test_bip141_from_private_key.py
test_bip141_from_private_key_compressed
72
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS def test_monero_from_watch_only(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdwallet"]["Monero"]["dumps"]["cryptocurrency"] ...
dump["hd"]
assert
complex_expr
tests/hdwallet/hdwallet/monero/test_monero_from_watch_only.py
test_monero_from_watch_only
63
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS from hdwallet.seeds import BIP39Seed def test_bip86_from_xprivate_key_compressed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdw...
dump["ecc"]
assert
complex_expr
tests/hdwallet/hdwallet/bip86/test_bip86_from_xprivate_key.py
test_bip86_from_xprivate_key_compressed
61
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS from hdwallet.seeds import BIP39Seed def test_bip84_from_xprivate_key_compressed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdw...
dump["ecc"]
assert
complex_expr
tests/hdwallet/hdwallet/bip84/test_bip84_from_xprivate_key.py
test_bip84_from_xprivate_key_compressed
61
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS def test_bip44_from_private_key_compressed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdwallet"]["BIP44"]["compressed"]["crypto...
dump
assert
variable
tests/hdwallet/hdwallet/bip44/test_bip44_from_private_key.py
test_bip44_from_private_key_compressed
61
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS def test_shelley_icarus_from_public_key(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdwallet"]["Cardano"]["shelley-icarus"]["cry...
dump["hd"]
assert
complex_expr
tests/hdwallet/hdwallet/cardano/shelley-icarus/test_cardano_shelley_icarus_from_public_key.py
test_shelley_icarus_from_public_key
74
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.seeds import MoneroSeed from hdwallet.hds import HDS def test_monero_from_seed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdwallet"]["Monero"]...
dump["hd"]
assert
complex_expr
tests/hdwallet/hdwallet/monero/test_monero_from_seed.py
test_monero_from_seed
63
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS from hdwallet.seeds import BIP39Seed def test_bip32_from_xprivate_key_compressed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdw...
dump["ecc"]
assert
complex_expr
tests/hdwallet/hdwallet/bip32/test_bip32_from_xprivate_key.py
test_bip32_from_xprivate_key_compressed
61
null
hdwallet-io/python-hdwallet
from nacl.signing import ( SigningKey, VerifyKey ) from hdwallet.eccs import ( IPoint, IPublicKey, IPrivateKey ) from hdwallet.eccs.kholaw.ed25519 import ( KholawEd25519ECC, KholawEd25519Point, KholawEd25519PublicKey, KholawEd25519PrivateKey ) from hdwallet.utils import get_bytes def test_kholaw_ed25519_e...
point_radd.x()
assert
func_call
tests/hdwallet/eccs/test_kholaw_ed25519_ecc.py
test_kholaw_ed25519_ecc_point
66
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS def test_bip32_from_wif_compressed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdwallet"]["BIP32"]["compressed"]["cryptocurrency...
dump["ecc"]
assert
complex_expr
tests/hdwallet/hdwallet/bip32/test_bip32_from_wif.py
test_bip32_from_wif_compressed
72
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS from hdwallet.seeds import BIP39Seed def test_bip141_from_xprivate_key_compressed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hd...
dump["seed"]
assert
complex_expr
tests/hdwallet/hdwallet/bip141/test_bip141_from_xprivate_key.py
test_bip141_from_xprivate_key_compressed
60
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS def test_bip49_from_private_key_compressed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdwallet"]["BIP49"]["compressed"]["crypto...
dump["seed"]
assert
complex_expr
tests/hdwallet/hdwallet/bip49/test_bip49_from_private_key.py
test_bip49_from_private_key_compressed
71
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS def test_bip49_from_wif_compressed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdwallet"]["BIP49"]["compressed"]["cryptocurrency...
dump["hd"]
assert
complex_expr
tests/hdwallet/hdwallet/bip49/test_bip49_from_wif.py
test_bip49_from_wif_compressed
73
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS from hdwallet.seeds import BIP39Seed def test_bip141_from_xprivate_key_compressed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hd...
dump["ecc"]
assert
complex_expr
tests/hdwallet/hdwallet/bip141/test_bip141_from_xprivate_key.py
test_bip141_from_xprivate_key_compressed
61
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS def test_bip84_from_public_key_compressed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdwallet"]["BIP84"]["compressed"]["cryptoc...
dump["ecc"]
assert
complex_expr
tests/hdwallet/hdwallet/bip84/test_bip84_from_public_key.py
test_bip84_from_public_key_compressed
76
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS from hdwallet.seeds import BIP39Seed def test_bip141_from_seed_compressed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdwallet"]...
dump["hd"]
assert
complex_expr
tests/hdwallet/hdwallet/bip141/test_bip141_from_seed.py
test_bip141_from_seed_compressed
63
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS def test_bip141_from_private_key_compressed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdwallet"]["BIP141"]["compressed"]["cryp...
None
assert
none_literal
tests/hdwallet/hdwallet/bip141/test_bip141_from_private_key.py
test_bip141_from_private_key_compressed
30
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.mnemonics import BIP39Mnemonic from hdwallet.hds import HDS def test_bip32_from_mnemonic_compressed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data[...
dump
assert
variable
tests/hdwallet/hdwallet/bip32/test_bip32_from_mnemonics.py
test_bip32_from_mnemonic_compressed
113
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS def test_bip84_from_wif_compressed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdwallet"]["BIP84"]["compressed"]["cryptocurrency...
dump["ecc"]
assert
complex_expr
tests/hdwallet/hdwallet/bip84/test_bip84_from_wif.py
test_bip84_from_wif_compressed
72
null
hdwallet-io/python-hdwallet
import json import os import pytest from hdwallet.mnemonics.algorand.mnemonic import ( AlgorandMnemonic, ALGORAND_MNEMONIC_LANGUAGES, ALGORAND_MNEMONIC_WORDS ) from hdwallet.exceptions import ( MnemonicError, EntropyError ) def test_algorand_mnemonics(data): assert ALGORAND_MNEMONIC_WORDS.TWENTY_FIV...
25
assert
numeric_literal
tests/hdwallet/mnemonics/test_mnemonics_algorand.py
test_algorand_mnemonics
22
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.entropies import BIP39Entropy from hdwallet.hds import HDS def test_bip141_from_entropy_compressed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["...
dump
assert
variable
tests/hdwallet/hdwallet/bip141/test_bip141_from_entropy.py
test_bip141_from_entropy_compressed
86
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.mnemonics import BIP39Mnemonic from hdwallet.hds import HDS def test_bip49_from_mnemonic_compressed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data[...
dump
assert
variable
tests/hdwallet/hdwallet/bip49/test_bip49_from_mnemonics.py
test_bip49_from_mnemonic_compressed
85
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS from hdwallet.seeds import BIP39Seed def test_bip32_from_xpublic_key_compressed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdwa...
dump
assert
variable
tests/hdwallet/hdwallet/bip32/test_bip32_from_xpublic_key.py
test_bip32_from_xpublic_key_compressed
59
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS from hdwallet.seeds import BIP39Seed def test_bip84_from_seed_compressed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdwallet"][...
dump["ecc"]
assert
complex_expr
tests/hdwallet/hdwallet/bip84/test_bip84_from_seed.py
test_bip84_from_seed_compressed
62
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS def test_bip32_from_private_key_compressed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdwallet"]["BIP32"]["compressed"]["crypto...
dump
assert
variable
tests/hdwallet/hdwallet/bip32/test_bip32_from_private_key.py
test_bip32_from_private_key_compressed
61
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS from hdwallet.seeds import BIP39Seed def test_bip49_from_seed_compressed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdwallet"][...
dump["seed"]
assert
complex_expr
tests/hdwallet/hdwallet/bip49/test_bip49_from_seed.py
test_bip49_from_seed_compressed
61
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS from hdwallet.seeds import BIP39Seed def test_bip84_from_seed_compressed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdwallet"][...
dump["seed"]
assert
complex_expr
tests/hdwallet/hdwallet/bip84/test_bip84_from_seed.py
test_bip84_from_seed_compressed
61
null
hdwallet-io/python-hdwallet
from nacl.signing import ( SigningKey, VerifyKey ) from hdwallet.eccs import ( IPoint, IPublicKey, IPrivateKey ) from hdwallet.eccs.slip10.ed25519.monero import ( SLIP10Ed25519MoneroECC, SLIP10Ed25519MoneroPoint, SLIP10Ed25519MoneroPublicKey, SLIP10Ed25519MoneroPrivateKey ) from hdwallet.utils import get_b...
point_radd.y()
assert
func_call
tests/hdwallet/eccs/test_slip10_ed25519_monero_ecc.py
test_slip10_ed25519_monero_ecc_point
67
null
hdwallet-io/python-hdwallet
import json from hdwallet.cli.__main__ import cli_main def check_mnemonics( cli_word, cli_entropy, client, language, words, entropy, mnemonic ): output_word = json.loads(cli_word.output) output_entropy = json.loads(cli_entropy.output) assert cli_word.exit_code ==
0
assert
numeric_literal
tests/cli/test_cli_mnemonic.py
check_mnemonics
26
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS from hdwallet.seeds import BIP39Seed def test_bip32_from_xprivate_key_compressed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdw...
dump
assert
variable
tests/hdwallet/hdwallet/bip32/test_bip32_from_xprivate_key.py
test_bip32_from_xprivate_key_compressed
45
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS def test_bip49_from_wif_compressed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdwallet"]["BIP49"]["compressed"]["cryptocurrency...
dump["ecc"]
assert
complex_expr
tests/hdwallet/hdwallet/bip49/test_bip49_from_wif.py
test_bip49_from_wif_compressed
72
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS def test_monero_from_seed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdwallet"]["Monero"]["dumps"]["cryptocurrency"] ) ...
dump["hd"]
assert
complex_expr
tests/hdwallet/hdwallet/monero/test_monero_from_spend_private_key.py
test_monero_from_seed
61
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS def test_bip32_from_wif_compressed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdwallet"]["BIP32"]["compressed"]["cryptocurrency...
dump["seed"]
assert
complex_expr
tests/hdwallet/hdwallet/bip32/test_bip32_from_wif.py
test_bip32_from_wif_compressed
71
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS from hdwallet.seeds import BIP39Seed def test_bip141_from_xpublic_key_compressed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdw...
dump["hd"]
assert
complex_expr
tests/hdwallet/hdwallet/bip141/test_bip141_from_xpublic_key.py
test_bip141_from_xpublic_key_compressed
76
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS from hdwallet.seeds import CardanoSeed def test_byron_ledger_from_seed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdwallet"]["C...
dump["ecc"]
assert
complex_expr
tests/hdwallet/hdwallet/cardano/byron-ledger/test_cardano_byron_ledger_from_seed.py
test_byron_ledger_from_seed
62
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS def test_electrum_v1_from_private_key_compressed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdwallet"]["Electrum-V1"]["compress...
dump["hd"]
assert
complex_expr
tests/hdwallet/hdwallet/electrum/v1/test_electrum_v1_from_private_key.py
test_electrum_v1_from_private_key_compressed
61
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS from hdwallet.seeds import BIP39Seed def test_bip32_from_seed_compressed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdwallet"][...
dump["ecc"]
assert
complex_expr
tests/hdwallet/hdwallet/bip32/test_bip32_from_seed.py
test_bip32_from_seed_compressed
62
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS def test_bip44_from_public_key_compressed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdwallet"]["BIP44"]["compressed"]["cryptoc...
dump["hd"]
assert
complex_expr
tests/hdwallet/hdwallet/bip44/test_bip44_from_public_key.py
test_bip44_from_public_key_compressed
77
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS def test_bip86_from_public_key_compressed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdwallet"]["BIP86"]["compressed"]["cryptoc...
dump["hd"]
assert
complex_expr
tests/hdwallet/hdwallet/bip86/test_bip86_from_public_key.py
test_bip86_from_public_key_compressed
77
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS from hdwallet.seeds import CardanoSeed def test_byron_icarus_from_seed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdwallet"]["C...
dump["ecc"]
assert
complex_expr
tests/hdwallet/hdwallet/cardano/byron-icarus/test_cardano_byron_icarus_from_seed.py
test_byron_icarus_from_seed
62
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS from hdwallet.seeds import CardanoSeed def test_shelley_icarus_from_seed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdwallet"][...
dump["hd"]
assert
complex_expr
tests/hdwallet/hdwallet/cardano/shelley-icarus/test_cardano_shelley_icarus_from_seed.py
test_shelley_icarus_from_seed
63
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS def test_bip141_from_public_key_compressed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdwallet"]["BIP141"]["compressed"]["crypt...
dump
assert
variable
tests/hdwallet/hdwallet/bip141/test_bip141_from_public_key.py
test_bip141_from_public_key_compressed
65
null
hdwallet-io/python-hdwallet
from ed25519_blake2b import ( SigningKey, VerifyingKey ) from hdwallet.eccs import ( IPoint, IPublicKey, IPrivateKey ) from hdwallet.eccs.slip10.ed25519.blake2b import ( SLIP10Ed25519Blake2bECC, SLIP10Ed25519Blake2bPoint, SLIP10Ed25519Blake2bPublicKey, SLIP10Ed25519Blake2bPrivateKey ) from hdwallet.utils i...
point_radd.x()
assert
func_call
tests/hdwallet/eccs/test_slip10_ed25519_blake2b_ecc.py
test_slip10_ed25519_blake2b_ecc_point
66
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS def test_monero_from_seed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdwallet"]["Monero"]["dumps"]["cryptocurrency"] ) ...
dump["ecc"]
assert
complex_expr
tests/hdwallet/hdwallet/monero/test_monero_from_spend_private_key.py
test_monero_from_seed
60
null
hdwallet-io/python-hdwallet
from hdwallet.symbols import * def test_symbols(): assert ACC == "ACC" assert AKT == "AKT" assert ALGO == "ALGO" assert ANON == "ANON" assert APT == "APT" assert ARB == "ARB" assert AGM == "AGM" assert XAX == "XAX" assert AYA == "AYA" assert AC == "AC" assert AUR == "AUR" assert AVAX == "AVAX" assert AVN...
"PI"
assert
string_literal
tests/test_symbols.py
test_symbols
162
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS def test_bip141_from_wif_compressed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdwallet"]["BIP141"]["compressed"]["cryptocurren...
dump["hd"]
assert
complex_expr
tests/hdwallet/hdwallet/bip141/test_bip141_from_wif.py
test_bip141_from_wif_compressed
73
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS def test_byron_legacy_from_xprivate_key(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdwallet"]["Cardano"]["byron-legacy"]["crypt...
dump["ecc"]
assert
complex_expr
tests/hdwallet/hdwallet/cardano/byron-legacy/test_cardano_byron_legacy_from_xprivate_key.py
test_byron_legacy_from_xprivate_key
61
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS def test_bip141_from_public_key_compressed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdwallet"]["BIP141"]["compressed"]["crypt...
None
assert
none_literal
tests/hdwallet/hdwallet/bip141/test_bip141_from_public_key.py
test_bip141_from_public_key_compressed
31
null
hdwallet-io/python-hdwallet
from nacl.signing import ( SigningKey, VerifyKey ) from hdwallet.eccs import ( IPoint, IPublicKey, IPrivateKey ) from hdwallet.eccs.slip10.ed25519 import ( SLIP10Ed25519ECC, SLIP10Ed25519Point, SLIP10Ed25519PublicKey, SLIP10Ed25519PrivateKey ) from hdwallet.utils import get_bytes def test_slip10_ed25519_e...
point_radd.x()
assert
func_call
tests/hdwallet/eccs/test_slip10_ed25519_ecc.py
test_slip10_ed25519_ecc_point
66
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS from hdwallet.seeds import CardanoSeed def test_byron_ledger_from_seed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdwallet"]["C...
dump["hd"]
assert
complex_expr
tests/hdwallet/hdwallet/cardano/byron-ledger/test_cardano_byron_ledger_from_seed.py
test_byron_ledger_from_seed
63
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS def test_bip84_from_private_key_compressed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdwallet"]["BIP84"]["compressed"]["crypto...
dump["ecc"]
assert
complex_expr
tests/hdwallet/hdwallet/bip84/test_bip84_from_private_key.py
test_bip84_from_private_key_compressed
72
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS def test_electrum_v1_from_wif_compressed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdwallet"]["Electrum-V1"]["compressed"]["cr...
dump["hd"]
assert
complex_expr
tests/hdwallet/hdwallet/electrum/v1/test_electrum_v1_from_wif.py
test_electrum_v1_from_wif_compressed
61
null
hdwallet-io/python-hdwallet
from os import path import json import copy import pytest from hdwallet.cli.__main__ import cli_main from dump_rules import rules def unpack_dumps(): all_data = [] file_path = path.abspath( path.join(path.dirname(__file__), "../data/json/hdwallet.json") ) values = open(file_path, "...
0
assert
numeric_literal
tests/cli/test_cli_dumps.py
test_cli_dumps
125
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS def test_bip49_from_public_key_compressed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdwallet"]["BIP49"]["compressed"]["cryptoc...
dump["hd"]
assert
complex_expr
tests/hdwallet/hdwallet/bip49/test_bip49_from_public_key.py
test_bip49_from_public_key_compressed
77
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS def test_shelley_ledger_from_private_key(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdwallet"]["Cardano"]["shelley-ledger"]["cr...
dump["ecc"]
assert
complex_expr
tests/hdwallet/hdwallet/cardano/shelley-ledger/test_cardano_shelley_ledger_from_private_key.py
test_shelley_ledger_from_private_key
72
null
hdwallet-io/python-hdwallet
import json import os import pytest from hdwallet.mnemonics.bip39.mnemonic import ( BIP39Mnemonic, BIP39_MNEMONIC_LANGUAGES, BIP39_MNEMONIC_WORDS ) from hdwallet.exceptions import ( MnemonicError, EntropyError ) def test_bip39_mnemonics(data): assert BIP39_MNEMONIC_WORDS.TWELVE ==
12
assert
numeric_literal
tests/hdwallet/mnemonics/test_mnemonics_bip39.py
test_bip39_mnemonics
22
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS def test_bip86_from_wif_compressed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdwallet"]["BIP86"]["compressed"]["cryptocurrency...
dump["ecc"]
assert
complex_expr
tests/hdwallet/hdwallet/bip86/test_bip86_from_wif.py
test_bip86_from_wif_compressed
72
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS def test_bip32_from_public_key_compressed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdwallet"]["BIP32"]["compressed"]["cryptoc...
dump["seed"]
assert
complex_expr
tests/hdwallet/hdwallet/bip32/test_bip32_from_public_key.py
test_bip32_from_public_key_compressed
75
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS def test_bip141_from_private_key_compressed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdwallet"]["BIP141"]["compressed"]["cryp...
dump
assert
variable
tests/hdwallet/hdwallet/bip141/test_bip141_from_private_key.py
test_bip141_from_private_key_compressed
61
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS def test_shelley_icarus_from_xprivate_key(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdwallet"]["Cardano"]["shelley-icarus"]["c...
dump["hd"]
assert
complex_expr
tests/hdwallet/hdwallet/cardano/shelley-icarus/test_cardano_shelley_icarus_from_xprivate_key.py
test_shelley_icarus_from_xprivate_key
62
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS from hdwallet.seeds import CardanoSeed def test_byron_legacy_from_seed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdwallet"]["C...
dump["ecc"]
assert
complex_expr
tests/hdwallet/hdwallet/cardano/byron-legacy/test_cardano_byron_legacy_from_seed.py
test_byron_legacy_from_seed
62
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS def test_bip44_from_private_key_compressed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdwallet"]["BIP44"]["compressed"]["crypto...
dump["seed"]
assert
complex_expr
tests/hdwallet/hdwallet/bip44/test_bip44_from_private_key.py
test_bip44_from_private_key_compressed
71
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS from hdwallet.seeds import BIP39Seed def test_bip32_from_seed_compressed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdwallet"][...
dump["seed"]
assert
complex_expr
tests/hdwallet/hdwallet/bip32/test_bip32_from_seed.py
test_bip32_from_seed_compressed
61
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS def test_byron_legacy_from_xprivate_key(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdwallet"]["Cardano"]["byron-legacy"]["crypt...
dump["hd"]
assert
complex_expr
tests/hdwallet/hdwallet/cardano/byron-legacy/test_cardano_byron_legacy_from_xprivate_key.py
test_byron_legacy_from_xprivate_key
62
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS from hdwallet.seeds import BIP39Seed def test_bip141_from_xpublic_key_compressed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdw...
dump["seed"]
assert
complex_expr
tests/hdwallet/hdwallet/bip141/test_bip141_from_xpublic_key.py
test_bip141_from_xpublic_key_compressed
74
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS from hdwallet.seeds import CardanoSeed def test_byron_icarus_from_seed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdwallet"]["C...
dump["hd"]
assert
complex_expr
tests/hdwallet/hdwallet/cardano/byron-icarus/test_cardano_byron_icarus_from_seed.py
test_byron_icarus_from_seed
63
null
hdwallet-io/python-hdwallet
from nacl.signing import ( SigningKey, VerifyKey ) from hdwallet.eccs import ( IPoint, IPublicKey, IPrivateKey ) from hdwallet.eccs.slip10.ed25519.monero import ( SLIP10Ed25519MoneroECC, SLIP10Ed25519MoneroPoint, SLIP10Ed25519MoneroPublicKey, SLIP10Ed25519MoneroPrivateKey ) from hdwallet.utils import get_b...
point_radd.x()
assert
func_call
tests/hdwallet/eccs/test_slip10_ed25519_monero_ecc.py
test_slip10_ed25519_monero_ecc_point
66
null
hdwallet-io/python-hdwallet
import copy from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS def test_electrum_v1_from_public_key_compressed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdwallet"]["Electrum-V1...
dump["hd"]
assert
complex_expr
tests/hdwallet/hdwallet/electrum/v1/test_electrum_v1_from_public_key.py
test_electrum_v1_from_public_key_compressed
74
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS def test_bip84_from_wif_compressed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdwallet"]["BIP84"]["compressed"]["cryptocurrency...
dump["hd"]
assert
complex_expr
tests/hdwallet/hdwallet/bip84/test_bip84_from_wif.py
test_bip84_from_wif_compressed
73
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS def test_bip141_from_wif_compressed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdwallet"]["BIP141"]["compressed"]["cryptocurren...
None
assert
none_literal
tests/hdwallet/hdwallet/bip141/test_bip141_from_wif.py
test_bip141_from_wif_compressed
30
null
hdwallet-io/python-hdwallet
from hdwallet.symbols import * def test_symbols(): assert ACC == "ACC" assert AKT == "AKT" assert ALGO == "ALGO" assert ANON == "ANON" assert APT == "APT" assert ARB == "ARB" assert AGM == "AGM" assert XAX == "XAX" assert AYA == "AYA" assert AC == "AC" assert AUR == "AUR" assert AVAX == "AVAX" assert AVN...
"OP"
assert
string_literal
tests/test_symbols.py
test_symbols
156
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS def test_bip49_from_public_key_compressed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdwallet"]["BIP49"]["compressed"]["cryptoc...
dump["seed"]
assert
complex_expr
tests/hdwallet/hdwallet/bip49/test_bip49_from_public_key.py
test_bip49_from_public_key_compressed
75
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS def test_bip32_from_private_key_compressed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdwallet"]["BIP32"]["compressed"]["crypto...
dump["hd"]
assert
complex_expr
tests/hdwallet/hdwallet/bip32/test_bip32_from_private_key.py
test_bip32_from_private_key_compressed
73
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS from hdwallet.seeds import BIP39Seed def test_bip49_from_xprivate_key_compressed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdw...
dump["seed"]
assert
complex_expr
tests/hdwallet/hdwallet/bip49/test_bip49_from_xprivate_key.py
test_bip49_from_xprivate_key_compressed
60
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS def test_bip141_from_private_key_compressed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdwallet"]["BIP141"]["compressed"]["cryp...
dump["seed"]
assert
complex_expr
tests/hdwallet/hdwallet/bip141/test_bip141_from_private_key.py
test_bip141_from_private_key_compressed
71
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS def test_bip84_from_private_key_compressed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdwallet"]["BIP84"]["compressed"]["crypto...
dump["seed"]
assert
complex_expr
tests/hdwallet/hdwallet/bip84/test_bip84_from_private_key.py
test_bip84_from_private_key_compressed
71
null
hdwallet-io/python-hdwallet
from nacl.signing import ( SigningKey, VerifyKey ) from hdwallet.eccs import ( IPoint, IPublicKey, IPrivateKey ) from hdwallet.eccs.kholaw.ed25519 import ( KholawEd25519ECC, KholawEd25519Point, KholawEd25519PublicKey, KholawEd25519PrivateKey ) from hdwallet.utils import get_bytes def test_kholaw_ed25519_e...
point_radd.y()
assert
func_call
tests/hdwallet/eccs/test_kholaw_ed25519_ecc.py
test_kholaw_ed25519_ecc_point
67
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS def test_bip86_from_wif_compressed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdwallet"]["BIP86"]["compressed"]["cryptocurrency...
dump["hd"]
assert
complex_expr
tests/hdwallet/hdwallet/bip86/test_bip86_from_wif.py
test_bip86_from_wif_compressed
73
null
hdwallet-io/python-hdwallet
from hdwallet import HDWallet from hdwallet.cryptocurrencies import CRYPTOCURRENCIES from hdwallet.derivations import DERIVATIONS from hdwallet.hds import HDS from hdwallet.seeds import BIP39Seed def test_bip49_from_seed_compressed(data): cryptocurrency = CRYPTOCURRENCIES.cryptocurrency( data["hdwallet"][...
dump["ecc"]
assert
complex_expr
tests/hdwallet/hdwallet/bip49/test_bip49_from_seed.py
test_bip49_from_seed_compressed
62
null