Skip to content

Commit

Permalink
Add configs to actor_definition serialize
Browse files Browse the repository at this point in the history
  • Loading branch information
abadger committed Sep 20, 2024
1 parent bf68773 commit 552cf0a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions leapp/repository/actor_definition.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ def serialize(self):
'tools': self.tools,
'files': self.files,
'libraries': self.libraries,
'configs': self.configs,
'tests': self.tests
}

Expand Down
1 change: 1 addition & 0 deletions tests/scripts/test_repository_actor_definition.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ def test_actor_definition(repository_dir):
assert dumped.pop('name') == definition.name
assert dumped.pop('files') == ('.',)
assert dumped.pop('libraries') == ('.',)
assert dumped.pop('configs') == ('.',)
assert dumped.pop('tests') == ('.',)
assert dumped.pop('tools') == ('.',)
# Assert to ensure we covered all keys
Expand Down

0 comments on commit 552cf0a

Please sign in to comment.