Skip to content

Conversation

@simonkurtz-MSFT
Copy link
Member

Further refactoring of Python tests mainly through new helpers and consolidation

@simonkurtz-MSFT simonkurtz-MSFT self-assigned this Dec 26, 2025
@github-actions
Copy link

github-actions bot commented Dec 26, 2025

🐍 Python 3.14 Results

Metric Status Value
Pylint Score 10.00/10
Unit Tests success
Code Coverage 📊 95%

Full Workflow Logs

@github-actions
Copy link

github-actions bot commented Dec 26, 2025

🐍 Python 3.13 Results

Metric Status Value
Pylint Score 10.00/10
Unit Tests success
Code Coverage 📊 95%

Full Workflow Logs

@github-actions
Copy link

github-actions bot commented Dec 26, 2025

🐍 Python 3.12 Results

Metric Status Value
Pylint Score 10.00/10
Unit Tests success
Code Coverage 📊 95%

Full Workflow Logs

@github-actions
Copy link

github-actions bot commented Dec 26, 2025

Python 3.14 Detailed Test Results

933 tests  +216   933 ✅ +216   22s ⏱️ +14s
  1 suites ±  0     0 💤 ±  0 
  1 files   ±  0     0 ❌ ±  0 

Results for commit fd23c73. ± Comparison against base commit cd6a755.

This pull request removes 73 and adds 289 tests. Note that renamed tests count towards both.
test_apimtypes ‑ test_api_creation
test_apimtypes ‑ test_api_creation_with_product_names
test_apimtypes ‑ test_api_creation_with_tags
test_apimtypes ‑ test_api_edge_cases
test_apimtypes ‑ test_api_equality
test_apimtypes ‑ test_api_equality_with_subscription_required
test_apimtypes ‑ test_api_inequality
test_apimtypes ‑ test_api_missing_fields
test_apimtypes ‑ test_api_operation_comprehensive
test_apimtypes ‑ test_api_operation_equality
…
test_apimtypes.TestAPIComparisons ‑ test_equality_same_attributes
test_apimtypes.TestAPIComparisons ‑ test_inequality_different_attributes[name-other-api]
test_apimtypes.TestAPIComparisons ‑ test_inequality_different_attributes[productNames-new_value2]
test_apimtypes.TestAPIComparisons ‑ test_inequality_different_attributes[tags-new_value1]
test_apimtypes.TestAPIComparisons ‑ test_repr
test_apimtypes.TestAPICreation ‑ test_basic_creation
test_apimtypes.TestAPICreation ‑ test_creation_with_both_tags_and_products
test_apimtypes.TestAPICreation ‑ test_creation_with_product_names[product_names0]
test_apimtypes.TestAPICreation ‑ test_creation_with_product_names[product_names1]
test_apimtypes.TestAPICreation ‑ test_creation_with_product_names[product_names2]
…

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Dec 26, 2025

Python 3.13 Detailed Test Results

933 tests  +216   933 ✅ +216   20s ⏱️ +12s
  1 suites ±  0     0 💤 ±  0 
  1 files   ±  0     0 ❌ ±  0 

Results for commit fd23c73. ± Comparison against base commit cd6a755.

This pull request removes 73 and adds 289 tests. Note that renamed tests count towards both.
test_apimtypes ‑ test_api_creation
test_apimtypes ‑ test_api_creation_with_product_names
test_apimtypes ‑ test_api_creation_with_tags
test_apimtypes ‑ test_api_edge_cases
test_apimtypes ‑ test_api_equality
test_apimtypes ‑ test_api_equality_with_subscription_required
test_apimtypes ‑ test_api_inequality
test_apimtypes ‑ test_api_missing_fields
test_apimtypes ‑ test_api_operation_comprehensive
test_apimtypes ‑ test_api_operation_equality
…
test_apimtypes.TestAPIComparisons ‑ test_equality_same_attributes
test_apimtypes.TestAPIComparisons ‑ test_inequality_different_attributes[name-other-api]
test_apimtypes.TestAPIComparisons ‑ test_inequality_different_attributes[productNames-new_value2]
test_apimtypes.TestAPIComparisons ‑ test_inequality_different_attributes[tags-new_value1]
test_apimtypes.TestAPIComparisons ‑ test_repr
test_apimtypes.TestAPICreation ‑ test_basic_creation
test_apimtypes.TestAPICreation ‑ test_creation_with_both_tags_and_products
test_apimtypes.TestAPICreation ‑ test_creation_with_product_names[product_names0]
test_apimtypes.TestAPICreation ‑ test_creation_with_product_names[product_names1]
test_apimtypes.TestAPICreation ‑ test_creation_with_product_names[product_names2]
…

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Dec 26, 2025

Python 3.12 Detailed Test Results

933 tests  +216   933 ✅ +216   23s ⏱️ +15s
  1 suites ±  0     0 💤 ±  0 
  1 files   ±  0     0 ❌ ±  0 

Results for commit fd23c73. ± Comparison against base commit cd6a755.

This pull request removes 73 and adds 289 tests. Note that renamed tests count towards both.
test_apimtypes ‑ test_api_creation
test_apimtypes ‑ test_api_creation_with_product_names
test_apimtypes ‑ test_api_creation_with_tags
test_apimtypes ‑ test_api_edge_cases
test_apimtypes ‑ test_api_equality
test_apimtypes ‑ test_api_equality_with_subscription_required
test_apimtypes ‑ test_api_inequality
test_apimtypes ‑ test_api_missing_fields
test_apimtypes ‑ test_api_operation_comprehensive
test_apimtypes ‑ test_api_operation_equality
…
test_apimtypes.TestAPIComparisons ‑ test_equality_same_attributes
test_apimtypes.TestAPIComparisons ‑ test_inequality_different_attributes[name-other-api]
test_apimtypes.TestAPIComparisons ‑ test_inequality_different_attributes[productNames-new_value2]
test_apimtypes.TestAPIComparisons ‑ test_inequality_different_attributes[tags-new_value1]
test_apimtypes.TestAPIComparisons ‑ test_repr
test_apimtypes.TestAPICreation ‑ test_basic_creation
test_apimtypes.TestAPICreation ‑ test_creation_with_both_tags_and_products
test_apimtypes.TestAPICreation ‑ test_creation_with_product_names[product_names0]
test_apimtypes.TestAPICreation ‑ test_creation_with_product_names[product_names1]
test_apimtypes.TestAPICreation ‑ test_creation_with_product_names[product_names2]
…

♻️ This comment has been updated with latest results.

import json_utils
import azure_resources as az
from console import print_error, print_info, print_message, print_ok, print_val, print_warning
import console as console_module
import json
from unittest.mock import MagicMock, patch
import pytest
import apimtypes
@simonkurtz-MSFT simonkurtz-MSFT merged commit f53ec37 into main Dec 29, 2025
10 checks passed
@simonkurtz-MSFT simonkurtz-MSFT deleted the feature/optimize-unit-tests branch December 29, 2025 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants