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 |
|---|---|---|---|---|---|---|---|---|---|
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_public_key(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"]["Cardano"]["shelley-ledger"]["cry... | dump["ecc"] | assert | complex_expr | tests/hdwallet/hdwallet/cardano/shelley-ledger/test_cardano_shelley_ledger_from_public_key.py | test_shelley_ledger_from_public_key | 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_bip44_from_xprivate_key_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdw... | dump | assert | variable | tests/hdwallet/hdwallet/bip44/test_bip44_from_xprivate_key.py | test_bip44_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_bip32_from_wif_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"]["BIP32"]["compressed"]["cryptocurrency... | dump["hd"] | assert | complex_expr | tests/hdwallet/hdwallet/bip32/test_bip32_from_wif.py | test_bip32_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_bip32_from_public_key_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"]["BIP32"]["compressed"]["cryptoc... | dump["ecc"] | assert | complex_expr | tests/hdwallet/hdwallet/bip32/test_bip32_from_public_key.py | test_bip32_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_bip44_from_seed_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"][... | dump["hd"] | assert | complex_expr | tests/hdwallet/hdwallet/bip44/test_bip44_from_seed.py | test_bip44_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_bip32_from_private_key_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"]["BIP32"]["compressed"]["crypto... | dump["seed"] | assert | complex_expr | tests/hdwallet/hdwallet/bip32/test_bip32_from_private_key.py | test_bip32_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.slip10.ed25519 import (
SLIP10Ed25519ECC, SLIP10Ed25519Point, SLIP10Ed25519PublicKey, SLIP10Ed25519PrivateKey
)
from hdwallet.utils import get_bytes
def test_slip10_ed25519_e... | point_radd.y() | assert | func_call | tests/hdwallet/eccs/test_slip10_ed25519_ecc.py | test_slip10_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
from hdwallet.seeds import CardanoSeed
def test_shelley_icarus_from_seed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"][... | dump["ecc"] | assert | complex_expr | tests/hdwallet/hdwallet/cardano/shelley-icarus/test_cardano_shelley_icarus_from_seed.py | test_shelley_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
def test_bip44_from_wif_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"]["BIP44"]["compressed"]["cryptocurrency... | dump | assert | variable | tests/hdwallet/hdwallet/bip44/test_bip44_from_wif.py | test_bip44_from_wif_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_bip49_from_private_key_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"]["BIP49"]["compressed"]["crypto... | dump["ecc"] | assert | complex_expr | tests/hdwallet/hdwallet/bip49/test_bip49_from_private_key.py | test_bip49_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
from hdwallet.seeds import BIP39Seed
def test_bip49_from_xprivate_key_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdw... | dump["ecc"] | assert | complex_expr | tests/hdwallet/hdwallet/bip49/test_bip49_from_xprivate_key.py | test_bip49_from_xprivate_key_compressed | 61 | 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_FIVE... | __["name"] | assert | complex_expr | tests/hdwallet/mnemonics/test_mnemonics_algorand.py | test_algorand_mnemonics | 43 | 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_xprivate_key(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"]["Cardano"]["shelley-ledger"]["c... | dump["ecc"] | assert | complex_expr | tests/hdwallet/hdwallet/cardano/shelley-ledger/test_cardano_shelley_ledger_from_xprivate_key.py | test_shelley_ledger_from_xprivate_key | 61 | 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... | "HT" | assert | string_literal | tests/test_symbols.py | test_symbols | 107 | 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_wif_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"]["BIP44"]["compressed"]["cryptocurrency... | dump["hd"] | assert | complex_expr | tests/hdwallet/hdwallet/bip44/test_bip44_from_wif.py | test_bip44_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_bip84_from_xprivate_key_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdw... | dump["hd"] | assert | complex_expr | tests/hdwallet/hdwallet/bip84/test_bip84_from_xprivate_key.py | test_bip84_from_xprivate_key_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
from hdwallet.seeds import ElectrumV2Seed
def test_segiwt_from_seed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"]["Elec... | dump["hd"] | assert | complex_expr | tests/hdwallet/hdwallet/electrum/v2/segwit/test_segwit_from_seed.py | test_segiwt_from_seed | 65 | 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["ecc"] | assert | complex_expr | tests/hdwallet/hdwallet/bip141/test_bip141_from_seed.py | test_bip141_from_seed_compressed | 62 | null | |
hdwallet-io/python-hdwallet | import json
from hdwallet.cli.__main__ import cli_main
def test_cli_entropy(data, cli_tester):
for client in data["entropies"].keys():
for strength in data["entropies"][client].keys():
cli = cli_tester.invoke(
cli_main, [
"generate", "entropy",
... | int(strength) | assert | func_call | tests/cli/test_cli_entropy.py | test_cli_entropy | 29 | 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 ElectrumV2Seed
def test_segiwt_from_seed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"]["Elec... | dump["ecc"] | assert | complex_expr | tests/hdwallet/hdwallet/electrum/v2/segwit/test_segwit_from_seed.py | test_segiwt_from_seed | 64 | 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["hd"] | assert | complex_expr | tests/hdwallet/hdwallet/bip141/test_bip141_from_xprivate_key.py | test_bip141_from_xprivate_key_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["ecc"] | assert | complex_expr | tests/hdwallet/hdwallet/bip44/test_bip44_from_public_key.py | test_bip44_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
def test_bip49_from_wif_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"]["BIP49"]["compressed"]["cryptocurrency... | dump["seed"] | assert | complex_expr | tests/hdwallet/hdwallet/bip49/test_bip49_from_wif.py | test_bip49_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_bip44_from_xprivate_key_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdw... | dump["ecc"] | assert | complex_expr | tests/hdwallet/hdwallet/bip44/test_bip44_from_xprivate_key.py | test_bip44_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_bip49_from_public_key_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"]["BIP49"]["compressed"]["cryptoc... | dump["ecc"] | assert | complex_expr | tests/hdwallet/hdwallet/bip49/test_bip49_from_public_key.py | test_bip49_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
def test_bip32_from_public_key_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"]["BIP32"]["compressed"]["cryptoc... | dump | assert | variable | tests/hdwallet/hdwallet/bip32/test_bip32_from_public_key.py | test_bip32_from_public_key_compressed | 65 | 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["ecc"] | assert | complex_expr | tests/hdwallet/hdwallet/cardano/shelley-icarus/test_cardano_shelley_icarus_from_xprivate_key.py | test_shelley_icarus_from_xprivate_key | 61 | 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["ecc"] | assert | complex_expr | tests/hdwallet/hdwallet/electrum/v1/test_electrum_v1_from_public_key.py | test_electrum_v1_from_public_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_bip44_from_seed_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"][... | dump["seed"] | assert | complex_expr | tests/hdwallet/hdwallet/bip44/test_bip44_from_seed.py | test_bip44_from_seed_compressed | 61 | 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 BIP3... | 15 | assert | numeric_literal | tests/hdwallet/mnemonics/test_mnemonics_bip39.py | test_bip39_mnemonics | 23 | 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["hd"] | assert | complex_expr | tests/hdwallet/hdwallet/bip49/test_bip49_from_private_key.py | test_bip49_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
def test_bip32_from_wif_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"]["BIP32"]["compressed"]["cryptocurrency... | dump | assert | variable | tests/hdwallet/hdwallet/bip32/test_bip32_from_wif.py | test_bip32_from_wif_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_bip32_from_public_key_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"]["BIP32"]["compressed"]["cryptoc... | None | assert | none_literal | tests/hdwallet/hdwallet/bip32/test_bip32_from_public_key.py | test_bip32_from_public_key_compressed | 31 | 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... | None | assert | none_literal | tests/hdwallet/hdwallet/bip32/test_bip32_from_private_key.py | test_bip32_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.hds import HDS
def test_bip141_from_public_key_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"]["BIP141"]["compressed"]["crypt... | dump["ecc"] | assert | complex_expr | tests/hdwallet/hdwallet/bip141/test_bip141_from_public_key.py | test_bip141_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_xpublic_key_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdw... | dump | assert | variable | tests/hdwallet/hdwallet/bip141/test_bip141_from_xpublic_key.py | test_bip141_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
def test_bip44_from_private_key_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"]["BIP44"]["compressed"]["crypto... | dump["hd"] | assert | complex_expr | tests/hdwallet/hdwallet/bip44/test_bip44_from_private_key.py | test_bip44_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
def test_bip141_from_wif_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"]["BIP141"]["compressed"]["cryptocurren... | dump["ecc"] | assert | complex_expr | tests/hdwallet/hdwallet/bip141/test_bip141_from_wif.py | test_bip141_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_bip44_from_seed_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"][... | dump | assert | variable | tests/hdwallet/hdwallet/bip44/test_bip44_from_seed.py | test_bip44_from_seed_compressed | 46 | 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["seed"] | assert | complex_expr | tests/hdwallet/hdwallet/bip32/test_bip32_from_xprivate_key.py | test_bip32_from_xprivate_key_compressed | 60 | null | |
hdwallet-io/python-hdwallet | from ecdsa import (
SigningKey, VerifyingKey
)
from ecdsa.ellipticcurve import PointJacobi
from hdwallet.eccs import (
IPoint, IPublicKey, IPrivateKey
)
from hdwallet.eccs.slip10.nist256p1 import (
SLIP10Nist256p1ECC, SLIP10Nist256p1Point, SLIP10Nist256p1PublicKey, SLIP10Nist256p1PrivateKey
)
from hdwallet... | point_radd.x() | assert | func_call | tests/hdwallet/eccs/test_slip10_nist256p1_ecc.py | test_slip10_nist256p1_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_electrum_v1_from_private_key_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"]["Electrum-V1"]["compress... | dump["ecc"] | assert | complex_expr | tests/hdwallet/hdwallet/electrum/v1/test_electrum_v1_from_private_key.py | test_electrum_v1_from_private_key_compressed | 60 | 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_bip44_from_entropy_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["h... | dump | assert | variable | tests/hdwallet/hdwallet/bip44/test_bip44_from_entropy.py | test_bip44_from_entropy_compressed | 84 | 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["hd"] | assert | complex_expr | tests/hdwallet/hdwallet/bip49/test_bip49_from_seed.py | test_bip49_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
from hdwallet.seeds import BIP39Seed
def test_bip32_from_xprivate_key_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdw... | dump["hd"] | assert | complex_expr | tests/hdwallet/hdwallet/bip32/test_bip32_from_xprivate_key.py | test_bip32_from_xprivate_key_compressed | 62 | null | |
hdwallet-io/python-hdwallet | from ecdsa import (
SigningKey, VerifyingKey
)
from ecdsa.ellipticcurve import PointJacobi
from hdwallet.eccs import (
IPoint, IPublicKey, IPrivateKey
)
from hdwallet.eccs.slip10.nist256p1 import (
SLIP10Nist256p1ECC, SLIP10Nist256p1Point, SLIP10Nist256p1PublicKey, SLIP10Nist256p1PrivateKey
)
from hdwallet... | point_radd.y() | assert | func_call | tests/hdwallet/eccs/test_slip10_nist256p1_ecc.py | test_slip10_nist256p1_ecc_point | 68 | 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 ElectrumV1Seed
def test_electrum_v1_from_seed_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["... | dump["ecc"] | assert | complex_expr | tests/hdwallet/hdwallet/electrum/v1/test_electrum_v1_from_seed.py | test_electrum_v1_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_bip86_from_public_key_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"]["BIP86"]["compressed"]["cryptoc... | dump["ecc"] | assert | complex_expr | tests/hdwallet/hdwallet/bip86/test_bip86_from_public_key.py | test_bip86_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.mnemonics import BIP39Mnemonic
from hdwallet.hds import HDS
def test_bip44_from_mnemonic_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data[... | dump | assert | variable | tests/hdwallet/hdwallet/bip44/test_bip44_from_mnemonics.py | test_bip44_from_mnemonic_compressed | 84 | 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["seed"] | assert | complex_expr | tests/hdwallet/hdwallet/bip32/test_bip32_from_xpublic_key.py | test_bip32_from_xpublic_key_compressed | 74 | null | |
hdwallet-io/python-hdwallet | from Crypto.Hash import keccak
from binascii import (
hexlify, unhexlify
)
import pytest
import hashlib
from hdwallet.libs.ripemd160 import ripemd160
from hdwallet.libs.base58 import (
checksum_encode, check_encode, check_decode, decode, encode, string_to_int
)
RAW: str = "0488ade405d5bc481680000000b5b40efbd... | eth | assert | variable | tests/test_base58.py | test_base58 | 45 | 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_bip49_from_entropy_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["h... | dump | assert | variable | tests/hdwallet/hdwallet/bip49/test_bip49_from_entropy.py | test_bip49_from_entropy_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_bip44_from_xprivate_key_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdw... | dump["seed"] | assert | complex_expr | tests/hdwallet/hdwallet/bip44/test_bip44_from_xprivate_key.py | test_bip44_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_shelley_icarus_from_private_key(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"]["Cardano"]["shelley-icarus"]["cr... | dump["ecc"] | assert | complex_expr | tests/hdwallet/hdwallet/cardano/shelley-icarus/test_cardano_shelley_icarus_from_private_key.py | test_shelley_icarus_from_private_key | 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_byron_ledger_from_xprivate_key(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"]["Cardano"]["byron-ledger"]["crypt... | dump["hd"] | assert | complex_expr | tests/hdwallet/hdwallet/cardano/byron-ledger/test_cardano_byron_legder_from_xprivate_key.py | test_byron_ledger_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
def test_bip44_from_public_key_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"]["BIP44"]["compressed"]["cryptoc... | dump["seed"] | assert | complex_expr | tests/hdwallet/hdwallet/bip44/test_bip44_from_public_key.py | test_bip44_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
from hdwallet.seeds import BIP39Seed
def test_bip32_from_xpublic_key_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwa... | dump["hd"] | assert | complex_expr | tests/hdwallet/hdwallet/bip32/test_bip32_from_xpublic_key.py | test_bip32_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
def test_bip32_from_public_key_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"]["BIP32"]["compressed"]["cryptoc... | dump["hd"] | assert | complex_expr | tests/hdwallet/hdwallet/bip32/test_bip32_from_public_key.py | test_bip32_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_public_key(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"]["Cardano"]["shelley-ledger"]["cry... | dump["hd"] | assert | complex_expr | tests/hdwallet/hdwallet/cardano/shelley-ledger/test_cardano_shelley_ledger_from_public_key.py | test_shelley_ledger_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.hds import HDS
from hdwallet.seeds import BIP39Seed
def test_bip141_from_xprivate_key_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hd... | dump | assert | variable | tests/hdwallet/hdwallet/bip141/test_bip141_from_xprivate_key.py | test_bip141_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_bip141_from_wif_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"]["BIP141"]["compressed"]["cryptocurren... | dump["seed"] | assert | complex_expr | tests/hdwallet/hdwallet/bip141/test_bip141_from_wif.py | test_bip141_from_wif_compressed | 71 | null | |
hdwallet-io/python-hdwallet | import json
from hdwallet.cli.__main__ import cli_main
def test_cli_seed(data, cli_tester):
for client in data["seeds"].keys():
for words in data["seeds"][client].keys():
if client == "Electrum-V2":
for mnemonic_type in data["seeds"][client][words].keys():
... | seed | assert | variable | tests/cli/test_cli_seed.py | test_cli_seed | 40 | 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["seed"] | assert | complex_expr | tests/hdwallet/hdwallet/bip84/test_bip84_from_xprivate_key.py | test_bip84_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
from hdwallet.seeds import BIP39Seed
def test_bip44_from_seed_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"][... | dump["ecc"] | assert | complex_expr | tests/hdwallet/hdwallet/bip44/test_bip44_from_seed.py | test_bip44_from_seed_compressed | 62 | null | |
hdwallet-io/python-hdwallet | from os import path
from hdwallet.cli.__main__ import cli_main
def test_cryptocurrencies_list(cli_tester):
cli = cli_tester.invoke(
cli_main, [
"list", "c",
]
)
assert cli.exit_code == | 0 | assert | numeric_literal | tests/cli/test_cli_lists.py | test_cryptocurrencies_list | 20 | 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 | assert | variable | tests/hdwallet/hdwallet/bip44/test_bip44_from_public_key.py | test_bip44_from_public_key_compressed | 65 | 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 ElectrumV2Seed
def test_standard_2fa_from_seed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"]... | dump["hd"] | assert | complex_expr | tests/hdwallet/hdwallet/electrum/v2/standard_2fa/test_standard_2fa_from_seed.py | test_standard_2fa_from_seed | 65 | 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["hd"] | assert | complex_expr | tests/hdwallet/hdwallet/bip86/test_bip86_from_xprivate_key.py | test_bip86_from_xprivate_key_compressed | 62 | null | |
hdwallet-io/python-hdwallet | import json
from hdwallet.cli.__main__ import cli_main
def test_cli_entropy(data, cli_tester):
for client in data["entropies"].keys():
for strength in data["entropies"][client].keys():
cli = cli_tester.invoke(
cli_main, [
"generate", "entropy",
... | 0 | assert | numeric_literal | tests/cli/test_cli_entropy.py | test_cli_entropy | 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
def test_bip32_from_private_key_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"]["BIP32"]["compressed"]["crypto... | dump["ecc"] | assert | complex_expr | tests/hdwallet/hdwallet/bip32/test_bip32_from_private_key.py | test_bip32_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.mnemonics import BIP39Mnemonic
from hdwallet.hds import HDS
def test_bip141_from_mnemonic_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data... | dump | assert | variable | tests/hdwallet/hdwallet/bip141/test_bip141_from_mnemonics.py | test_bip141_from_mnemonic_compressed | 87 | 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_private_key_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"]["BIP86"]["compressed"]["crypto... | dump["ecc"] | assert | complex_expr | tests/hdwallet/hdwallet/bip86/test_bip86_from_private_key.py | test_bip86_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
from hdwallet.seeds import ElectrumV2Seed
def test_standard_2fa_from_seed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"]... | dump["ecc"] | assert | complex_expr | tests/hdwallet/hdwallet/electrum/v2/standard_2fa/test_standard_2fa_from_seed.py | test_standard_2fa_from_seed | 64 | 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["ecc"] | assert | complex_expr | tests/hdwallet/hdwallet/monero/test_monero_from_watch_only.py | test_monero_from_watch_only | 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_bip84_from_wif_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"]["BIP84"]["compressed"]["cryptocurrency... | dump["seed"] | assert | complex_expr | tests/hdwallet/hdwallet/bip84/test_bip84_from_wif.py | test_bip84_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
def test_byron_ledger_from_xprivate_key(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"]["Cardano"]["byron-ledger"]["crypt... | dump["ecc"] | assert | complex_expr | tests/hdwallet/hdwallet/cardano/byron-ledger/test_cardano_byron_legder_from_xprivate_key.py | test_byron_ledger_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
from hdwallet.seeds import BIP39Seed
def test_bip49_from_xprivate_key_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdw... | dump["hd"] | assert | complex_expr | tests/hdwallet/hdwallet/bip49/test_bip49_from_xprivate_key.py | test_bip49_from_xprivate_key_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_bip141_from_public_key_compressed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"]["BIP141"]["compressed"]["crypt... | dump["hd"] | assert | complex_expr | tests/hdwallet/hdwallet/bip141/test_bip141_from_public_key.py | test_bip141_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_shelley_ledger_from_seed(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"][... | dump["ecc"] | assert | complex_expr | tests/hdwallet/hdwallet/cardano/shelley-ledger/test_cardano_shelley_ledger_from_seed.py | test_shelley_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_shelley_ledger_from_private_key(data):
cryptocurrency = CRYPTOCURRENCIES.cryptocurrency(
data["hdwallet"]["Cardano"]["shelley-ledger"]["cr... | dump["hd"] | assert | complex_expr | tests/hdwallet/hdwallet/cardano/shelley-ledger/test_cardano_shelley_ledger_from_private_key.py | test_shelley_ledger_from_private_key | 73 | null | |
ruvnet/wifi-densepose | import pytest
import numpy as np
import sys
import os
from unittest.mock import Mock, patch, AsyncMock
from datetime import datetime, timezone
import importlib.util
spec = importlib.util.spec_from_file_location(
'phase_sanitizer',
'/workspaces/wifi-densepose/src/core/phase_sanitizer.py'
)
phase_sanitizer_modu... | 50 | assert | numeric_literal | v1/tests/unit/test_phase_sanitizer_tdd.py | test_should_get_sanitization_statistics | TestPhaseSanitizer | 332 | null |
ruvnet/wifi-densepose | import pytest
import asyncio
import numpy as np
import time
from datetime import datetime, timedelta
from typing import Dict, Any, List, Optional
from unittest.mock import AsyncMock, MagicMock, patch
import psutil
import os
class TestInferenceAccuracy:
@pytest.mark.asyncio
async def test_keypoint_detection_qu... | 17 | assert | numeric_literal | v1/tests/performance/test_inference_speed.py | test_keypoint_detection_quality_should_fail_initially | TestInferenceAccuracy | 397 | null |
ruvnet/wifi-densepose | import pytest
import asyncio
import numpy as np
import time
from datetime import datetime, timedelta
from typing import Dict, Any, List, Optional
from unittest.mock import AsyncMock, MagicMock, patch
import psutil
import os
class TestInferenceSpeed:
def lightweight_model(self):
"""Create lightweight model... | 20 | assert | numeric_literal | v1/tests/performance/test_inference_speed.py | test_sustained_inference_performance_should_fail_initially | TestInferenceSpeed | 241 | null |
ruvnet/wifi-densepose | import pytest
import asyncio
import aiohttp
import time
import numpy as np
from datetime import datetime, timedelta
from typing import Dict, Any, List, Optional
from unittest.mock import AsyncMock, MagicMock, patch
import json
import statistics
class TestAPILoadTesting:
def load_test_server(self):
"""Crea... | 0.1 | assert | numeric_literal | v1/tests/performance/test_api_throughput.py | test_high_concurrency_load_should_fail_initially | TestAPILoadTesting | 368 | null |
ruvnet/wifi-densepose | import pytest
import asyncio
import json
from datetime import datetime
from typing import Dict, Any, List
from unittest.mock import AsyncMock, MagicMock, patch
import websockets
from fastapi import FastAPI, WebSocket
from fastapi.testclient import TestClient
class TestWebSocketPerformance:
@pytest.mark.asyncio
... | 1.0 | assert | numeric_literal | v1/tests/integration/test_websocket_streaming.py | test_websocket_message_throughput_should_fail_initially | TestWebSocketPerformance | 415 | null |
ruvnet/wifi-densepose | import pytest
import numpy as np
import torch
from unittest.mock import Mock, patch, MagicMock
from src.hardware.csi_extractor import CSIExtractor, CSIExtractionError
class TestCSIExtractor:
def mock_config(self):
"""Configuration for CSI extractor"""
return {
'interface': 'wlan0',
... | ValueError) | pytest.raises | variable | v1/tests/unit/test_csi_extractor.py | test_convert_to_tensor_handles_invalid_input | TestCSIExtractor | 161 | null |
ruvnet/wifi-densepose | import pytest
import numpy as np
import sys
import os
from unittest.mock import Mock, patch, AsyncMock, MagicMock
from datetime import datetime, timezone
import importlib.util
from typing import Dict, List, Any
spec = importlib.util.spec_from_file_location(
'csi_processor',
'/workspaces/wifi-densepose/src/cor... | 5 | assert | numeric_literal | v1/tests/unit/test_csi_processor_tdd.py | test_should_get_processing_statistics | TestCSIProcessor | 396 | null |
ruvnet/wifi-densepose | import pytest
import asyncio
import numpy as np
from datetime import datetime, timedelta
from typing import Dict, Any, List, Optional, AsyncGenerator
from unittest.mock import AsyncMock, MagicMock, patch
import json
import queue
import threading
from dataclasses import dataclass
class TestStreamingPipelineIntegration:... | 20 | assert | numeric_literal | v1/tests/integration/test_streaming_pipeline.py | test_pipeline_error_recovery_should_fail_initially | TestStreamingPipelineIntegration | 560 | null |
ruvnet/wifi-densepose | import pytest
import asyncio
from datetime import datetime, timedelta
from typing import Dict, Any
from unittest.mock import AsyncMock, MagicMock
from fastapi.testclient import TestClient
from fastapi import FastAPI
import httpx
from src.api.dependencies import (
get_pose_service,
get_stream_service,
get_... | 422 | assert | numeric_literal | v1/tests/integration/test_api_endpoints.py | test_invalid_confidence_threshold_should_fail_initially | TestAPIValidation | 326 | null |
ruvnet/wifi-densepose | import pytest
import asyncio
import numpy as np
from datetime import datetime, timedelta
from typing import Dict, Any, List, Optional
from unittest.mock import AsyncMock, MagicMock, patch
import json
from dataclasses import dataclass
class TestPosePipelineIntegration:
def csi_processor(self):
"""Create C... | result.metadata | assert | complex_expr | v1/tests/integration/test_pose_pipeline.py | test_end_to_end_pose_estimation_should_fail_initially | TestPosePipelineIntegration | 319 | null |
ruvnet/wifi-densepose | import pytest
import asyncio
from datetime import datetime, timedelta
from typing import Dict, Any
from unittest.mock import AsyncMock, MagicMock
from fastapi.testclient import TestClient
from fastapi import FastAPI
import httpx
from src.api.dependencies import (
get_pose_service,
get_stream_service,
get_... | 200 | assert | numeric_literal | v1/tests/integration/test_api_endpoints.py | test_health_check_endpoint_should_fail_initially | TestAPIEndpoints | 121 | null |
ruvnet/wifi-densepose | import pytest
import numpy as np
import sys
import os
from unittest.mock import Mock, patch, AsyncMock
import asyncio
from datetime import datetime, timezone
import importlib.util
spec = importlib.util.spec_from_file_location(
'csi_extractor',
'/workspaces/wifi-densepose/src/hardware/csi_extractor.py'
)
csi_m... | 'esp32' | assert | string_literal | v1/tests/unit/test_csi_standalone.py | test_init_esp32_config | TestCSIExtractorStandalone | 87 | null |
ruvnet/wifi-densepose | import pytest
import asyncio
import numpy as np
from datetime import datetime, timedelta
from typing import Dict, Any, List, Optional
from unittest.mock import AsyncMock, MagicMock, patch
import json
import socket
class TestRouterConnection:
def router_interface(self):
"""Create router interface for testi... | None | assert | none_literal | v1/tests/integration/test_hardware_integration.py | test_heartbeat_mechanism_should_fail_initially | TestRouterConnection | 182 | null |
ruvnet/wifi-densepose | import pytest
import asyncio
import numpy as np
from datetime import datetime, timedelta
from typing import Dict, Any, List, Optional, AsyncGenerator
from unittest.mock import AsyncMock, MagicMock, patch
import json
import queue
import threading
from dataclasses import dataclass
class TestStreamingPipelineBasic:
... | 0 | assert | numeric_literal | v1/tests/integration/test_streaming_pipeline.py | test_buffer_overflow_handling_should_fail_initially | TestStreamingPipelineBasic | 300 | null |
ruvnet/wifi-densepose | import pytest
import numpy as np
import sys
import os
from unittest.mock import Mock, patch, AsyncMock
import asyncio
from datetime import datetime, timezone
import importlib.util
spec = importlib.util.spec_from_file_location(
'csi_extractor',
'/workspaces/wifi-densepose/src/hardware/csi_extractor.py'
)
csi_m... | 56 | assert | numeric_literal | v1/tests/unit/test_csi_standalone.py | test_parse_valid_data | TestESP32CSIParserStandalone | 540 | null |
ruvnet/wifi-densepose | import pytest
import asyncio
import numpy as np
from datetime import datetime, timedelta
from typing import Dict, Any, List, Optional, AsyncGenerator
from unittest.mock import AsyncMock, MagicMock, patch
import json
import queue
import threading
from dataclasses import dataclass
class TestStreamingLatency:
@pytes... | 100 | assert | numeric_literal | v1/tests/integration/test_streaming_pipeline.py | test_end_to_end_latency_should_fail_initially | TestStreamingLatency | 609 | null |
ruvnet/wifi-densepose | import asyncio
import pytest
import httpx
import json
import time
from pathlib import Path
from typing import Dict, Any
from unittest.mock import AsyncMock, MagicMock, patch
from src.config.settings import get_settings
from src.app import app
from src.database.connection import get_database_manager
from src.services.o... | 5 | assert | numeric_literal | v1/tests/integration/test_full_system_integration.py | test_concurrent_operations_integration | TestFullSystemIntegration | 375 | null |
ruvnet/wifi-densepose | import pytest
import numpy as np
from unittest.mock import Mock, patch, AsyncMock, MagicMock
from typing import Dict, Any, Optional
import asyncio
from datetime import datetime, timezone
from src.hardware.csi_extractor import (
CSIExtractor,
CSIParseError,
CSIData,
ESP32CSIParser,
RouterCSIParser,
... | CSIValidationError, match="Invalid SNR value") | pytest.raises | complex_expr | v1/tests/unit/test_csi_extractor_tdd_complete.py | test_validation_snr_too_low | TestCSIExtractorComplete | 300 | null |
ruvnet/wifi-densepose | import pytest
import asyncio
from datetime import datetime, timedelta
from typing import Dict, Any, Optional
from unittest.mock import AsyncMock, MagicMock, patch
import jwt
import json
from fastapi import HTTPException, status
from fastapi.security import HTTPAuthorizationCredentials
class TestAuthorizationDependenc... | admin_user | assert | variable | v1/tests/integration/test_authentication.py | test_require_admin_user_should_fail_initially | TestAuthorizationDependencies | 399 | null |
ruvnet/wifi-densepose | import pytest
import asyncio
import json
from datetime import datetime
from typing import Dict, Any, List
from unittest.mock import AsyncMock, MagicMock, patch
import websockets
from fastapi import FastAPI, WebSocket
from fastapi.testclient import TestClient
class TestWebSocketStreaming:
def mock_websocket(self)... | 0.8 | assert | numeric_literal | v1/tests/integration/test_websocket_streaming.py | test_websocket_message_handling_should_fail_initially | TestWebSocketStreaming | 186 | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.