def METHOD_NAME(self):
    seed = bip39.seed(" ".join(["all"] * 12), "")
    cache.set(cache.APP_COMMON_SEED, seed)
    schema = PathSchema.parse("m/44'/1'", 0)
    keychain = await_result(get_keychain("secp256k1", [schema]))
    # valid path:
    self.assertIsNotNone(keychain.derive([H_(44), H_(1)]))
    # invalid path:
    with self.assertRaises(wire.DataError):
        keychain.derive([44])