Skip to content

Commit 5c18d12

Browse files
author
Ammar Husain Mian Fazulul
committed
added filter to the projection query
1 parent 1de48b7 commit 5c18d12

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/integration/systems/test_systems.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ def test__query_systems_with_projections__returns_the_systems_with_projected_pro
146146
self, client: SystemsClient
147147
):
148148
query_systems_request = QuerySystemsRequest(
149+
filter="grains.data.localhost != \"\" && grains.data.master != \"\"",
149150
projection="new(id, alias, grains.data.master as master , grains.data.host as host)",
150151
take=1,
151152
)

0 commit comments

Comments
 (0)