# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.

load("@fbcode_macros//build_defs:python_unittest.bzl", "python_unittest")
load("targets.bzl", "define_common_targets")

oncall("executorch")

python_unittest(
    name="test_replace_quant_nodes",
    srcs=[
        "test_helpers_passes_utils.py",
        "test_replace_quant_nodes.py",
        "test_quantize_op_fusion_pass.py",
    ],
    deps=[
        "//pytorch/ao:torchao",  # @manual
        "//caffe2:torch",
        "//executorch/backends/cortex_m/passes:replace_quant_nodes_pass",
        "//executorch/backends/cortex_m/ops:ops",
    ],
)

define_common_targets()
