Skip to content

Commit 09e6f95

Browse files
authored
Merge pull request #28 from EncoreTechnologies/hotfix/fix-ci-errors
hotfix/fix-ci-errors
2 parents c6681f6 + f751add commit 09e6f95

4 files changed

Lines changed: 7 additions & 2 deletions

File tree

CHANGES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 1.0.4
4+
5+
- Updated files to work with latest CI updates
6+
37
## 1.0.3
48

59
- Fixed action __repr__ to return a string (satisfy pylint).

actions/get_node_software_inventory.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ def run(self, matchtype=None, matchstring=None):
4343
try:
4444
orion_data = self.query(swql, **kargs)
4545
except Exception:
46+
orion_data = {}
4647
orion_data['results'] = "empty"
4748

4849
return orion_data

pack.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ keywords:
88
- ncm
99
- npm
1010
- monitoring
11-
version: 1.0.3
11+
version: 1.0.4
1212
python_versions:
1313
- "3"
1414
author: Encore Technologies

tests/test_action_query.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def test_query_with_params(self, mock_connect, mock_query):
3939
action = self.get_action_instance(config=self.full_config)
4040

4141
result = action.run(query, parameters)
42-
self.assertEquals(result, expected)
42+
self.assertEqual(result, expected)
4343

4444
mock_connect.assert_called_with()
4545
mock_query.assert_called_with(query, **parameters)

0 commit comments

Comments
 (0)