Skip to content

Commit 8f95d49

Browse files
committed
Test case with no glideins.
1 parent bd5131b commit 8f95d49

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/decisionengine_modules/tests/glideinwms/publishers/test_fe_group_classads.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,11 @@ def test_publish(fe_group_classads_instance):
8080
assert actual_df.compare(expected_df).empty
8181

8282

83+
def test_no_glideins(fe_group_classads_instance):
84+
datablock = {"glideclient_manifests": pd.DataFrame()}
85+
assert fe_group_classads_instance.dataframe_for_entrytype("some_entry_type", datablock).empty
86+
87+
8388
def test_create_invalidate_constraint(fe_group_classads_instance):
8489
expected_constraint = {
8590
"col1.com": '(glideinmytype == "glideclient") && (stringlistmember(ClientName, "e1,e2,e3"))',

0 commit comments

Comments
 (0)