Skip to content

Commit

Permalink
Update tests/unit/charts/test_base.py
Browse files Browse the repository at this point in the history
Co-authored-by: dtrai2 <[email protected]>
  • Loading branch information
ekneg54 and dtrai2 authored Jun 24, 2024
1 parent ed02615 commit 78e4364
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/unit/charts/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,8 @@ def deployment(self):

@property
def exporter_service(self):
return self.manifests.by_query("kind: Service AND metadata.name: logprep-logprep-exporter")[
0
]
query = "kind: Service AND metadata.name: logprep-logprep-exporter"
return self.manifests.by_query(query)[0]


class TestLogprepChart(TestBaseChartTest):
Expand Down

0 comments on commit 78e4364

Please sign in to comment.