Skip to content

Commit 1db7250

Browse files
committed
MK8S-184 - Move the test to a scripts folder
1 parent f8c665c commit 1db7250

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

salt/metalk8s/addons/prometheus-operator/deployed/oidc-proxy-restart-script.sls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Create oidc-proxy-restart-script ConfigMap:
4545
heritage: metalk8s
4646
data:
4747
restart-on-ca-change.py: |-
48-
{{ script_content | indent(12, first=True) }}
48+
{{ script_content | indent(12) }}
4949

5050
{%- else %}
5151

salt/tests/unit/formulas/fixtures/salt.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,8 +412,6 @@ def slsutil_renderer(salt_mock: SaltMock, source: str, **_kwargs: Any) -> Any:
412412
register_basic("file.find")(MagicMock(return_value=[]))
413413
register_basic("file.join")(lambda *args: "/".join(args))
414414
register_basic("file.read")(MagicMock(return_value="<file contents>"))
415-
416-
417415
register_basic("cp.get_file_str")(MagicMock(return_value="<file contents>"))
418416
register_basic("hashutil.base64_b64decode")(lambda input_data: input_data)
419417
register_basic("hashutil.base64_encodefile")(

salt/tests/unit/test_restart_on_ca_change.py renamed to salt/tests/unit/scripts/test_restart_on_ca_change.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
os.path.dirname(os.path.abspath(__file__)),
1414
os.pardir,
1515
os.pardir,
16+
os.pardir,
1617
"metalk8s",
1718
"addons",
1819
"prometheus-operator",

0 commit comments

Comments
 (0)