Commit 51a0414
committed
Fix CI/CD: Add @live_only decorator to bicep scenario tests
- Add @live_only() decorator to BicepTemplateSizeOptimizationScenarioTest methods
- Aligns with existing bicep test patterns (test_bicep_generate_params_*, test_bicep_lint_*, etc.)
- Prevents Bicep CLI dependency issues in CI/CD playback mode
- Removes redundant import statements (tempfile, os already imported at module level)
- Unit tests continue to run in CI/CD ensuring core functionality validation1 parent 5e12fa0 commit 51a0414
File tree
1 file changed
+2
-5
lines changed- src/azure-cli/azure/cli/command_modules/resource/tests/latest
1 file changed
+2
-5
lines changedLines changed: 2 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
884 | 884 | | |
885 | 885 | | |
886 | 886 | | |
| 887 | + | |
887 | 888 | | |
888 | 889 | | |
889 | 890 | | |
| |||
924 | 925 | | |
925 | 926 | | |
926 | 927 | | |
927 | | - | |
928 | | - | |
929 | 928 | | |
930 | 929 | | |
931 | 930 | | |
| |||
955 | 954 | | |
956 | 955 | | |
957 | 956 | | |
| 957 | + | |
958 | 958 | | |
959 | 959 | | |
960 | 960 | | |
| |||
1037 | 1037 | | |
1038 | 1038 | | |
1039 | 1039 | | |
1040 | | - | |
1041 | | - | |
1042 | | - | |
1043 | 1040 | | |
1044 | 1041 | | |
1045 | 1042 | | |
| |||
0 commit comments