Skip to content

Commit

Permalink
Extend tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kkedziak-splunk committed Jan 3, 2025
1 parent 36810ea commit 83749ff
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions tests/smoke/test_ucc_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,14 @@ def check_ucc_versions(parent_folder):
"globalConfig.json",
)
with tempfile.TemporaryDirectory(prefix="ucc") as temp:
with open(config_path) as fp:
cfg = json.load(fp)

cfg["meta"]["_uccVersion"] = "0.0.1"

with open(config_path, "w") as fp:
json.dump(cfg, fp)

build.generate(
source=package_folder, config_path=config_path, output_directory=temp
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1907,7 +1907,7 @@
"meta": {
"name": "Splunk_TA_UCCExample",
"restRoot": "splunk_ta_uccexample",
"version": "5.55.0+e45124ce1",
"version": "5.55.0+36810ea3",
"displayName": "Splunk UCC test Add-on",
"schemaVersion": "0.0.9",
"supportedThemes": [
Expand Down

0 comments on commit 83749ff

Please sign in to comment.