[Fix] Remove all Scenarios, catch empty SMILES, prevent default Package delete (#134)

Co-authored-by: Tim Lorsbach <tim@lorsba.ch>
Reviewed-on: enviPath/enviPy#134
This commit is contained in:
2025-09-30 19:10:57 +13:00
parent b757a07f91
commit 3f5bb76633
9 changed files with 215 additions and 53 deletions

View File

@ -161,7 +161,8 @@ class RuleViewTest(TestCase):
'package_uuid': str(r.package.uuid),
'rule_uuid': str(r.uuid)
}), {
"selected-scenarios": []
# We have to set an empty string to avoid that the parameter is removed
"selected-scenarios": ""
}
)