Skip to content

Commit e3ea704

Browse files
irenabirenab
authored andcommitted
rename pytest directories and move test util to correct dir
1 parent aa2a182 commit e3ea704

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+9
-10
lines changed

.github/workflows/run_keras_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ jobs:
3232
3333
- name: Run pytest
3434
run: |
35-
pytest tests_pytest/keras
35+
pytest tests_pytest/keras_tests
3636

.github/workflows/run_pytorch_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ jobs:
3131
python -m unittest discover tests/pytorch_tests -v
3232
- name: Run pytest
3333
run: |
34-
pytest tests_pytest/pytorch
34+
pytest tests_pytest/pytorch_tests
3535
File renamed without changes.
File renamed without changes.
File renamed without changes.

tests_pytest/common/core/common/collectors/__init__.py renamed to tests_pytest/common_tests/core/common/collectors/__init__.py

File renamed without changes.

tests_pytest/common/core/common/collectors/test_weighted_histogram_collector.py renamed to tests_pytest/common_tests/core/common/collectors/test_weighted_histogram_collector.py

File renamed without changes.

tests_pytest/common/core/common/__init__.py renamed to tests_pytest/common_tests/core/common/mixed_precision/__init__.py

File renamed without changes.

tests_pytest/common/core/common/mixed_precision/__init__.py renamed to tests_pytest/common_tests/core/common/mixed_precision/resource_utilization_tools/__init__.py

File renamed without changes.

tests_pytest/common/core/common/mixed_precision/resource_utilization_tools/test_resource_utilization_calculator.py renamed to tests_pytest/common_tests/core/common/mixed_precision/resource_utilization_tools/test_resource_utilization_calculator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
RUTarget
3232
from model_compression_toolkit.core.common.mixed_precision.resource_utilization_tools.resource_utilization_calculator import \
3333
Utilization, ResourceUtilizationCalculator, TargetInclusionCriterion, BitwidthMode
34-
from tests_pytest.common.graph_builder_utils import build_node, full_attr_name, build_qc
34+
from tests_pytest.test_util.graph_builder_utils import build_node, full_attr_name, build_qc
3535

3636

3737
@pytest.fixture

0 commit comments

Comments
 (0)