Skip to content

Commit

Permalink
test: fixed unit test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
hetangmodi-crest committed Sep 30, 2024
1 parent 40f6504 commit 48d6a6c
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1032,7 +1032,7 @@
"apiVersion": "3.2.0",
"name": "Splunk_TA_UCCExample",
"restRoot": "splunk_ta_uccexample",
"version": "5.5.8R5fd76615",
"version": "5.5.8+5fd76615",
"displayName": "Splunk UCC test Add-on",
"schemaVersion": "0.0.2"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@
"meta": {
"name": "test_addon",
"restRoot": "test_addon",
"version": "5.47.0Ra2b585f01",
"version": "5.47.0+a2b585f01",
"displayName": "This is my add-on",
"schemaVersion": "0.0.7",
"_uccVersion": "5.47.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1622,7 +1622,7 @@
"meta": {
"name": "Splunk_TA_UCCExample",
"restRoot": "splunk_ta_uccexample",
"version": "5.49.0Rcc63ee532",
"version": "5.49.0+cc63ee532",
"displayName": "Splunk UCC test Add-on",
"schemaVersion": "0.0.8",
"_uccVersion": "5.49.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1172,7 +1172,7 @@
"meta": {
"name": "Splunk_TA_UCCExample",
"restRoot": "splunk_ta_uccexample",
"version": "5.47.0Ra2b585f01",
"version": "5.47.0+a2b585f01",
"displayName": "Splunk UCC test Add-on",
"schemaVersion": "0.0.7",
"_uccVersion": "5.47.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@
"meta": {
"name": "Splunk_TA_UCCExample",
"restRoot": "splunk_ta_uccexample",
"version": "5.47.0Ra2b585f01",
"version": "5.47.0+a2b585f01",
"displayName": "Splunk UCC test Add-on",
"schemaVersion": "0.0.7",
"_uccVersion": "5.47.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"meta": {
"name": "Splunk_TA_UCCExample",
"restRoot": "splunk_ta_uccexample",
"version": "5.47.0Ra2b585f01",
"version": "5.47.0+a2b585f01",
"displayName": "Splunk UCC test Add-on",
"schemaVersion": "0.0.7",
"_uccVersion": "5.47.0"
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def test_get_version_from_git_when_stage_is_none(mock_version_from_git):
)
mock_version_from_git.return_value = version

expected_result = "5.25.0R391ec865"
expected_result = "5.25.0+391ec865"
assert expected_result == utils.get_version_from_git()


Expand Down

0 comments on commit 48d6a6c

Please sign in to comment.