1- #!/usr/bin/env python3
1+ #!/usr/bin/env python3
2+ # SPDX-License-Identifier: Apache-2.0
3+ # Copyright 2025 Ague Samuel Amen
4+ #
5+ # Licensed under the Apache License, Version 2.0 (the "License");
6+ # you may not use this file except in compliance with the License.
7+ # You may obtain a copy of the License at
8+ #
9+ # http://www.apache.org/licenses/LICENSE-2.0
10+ #
11+ # Unless required by applicable law or agreed to in writing, software
12+ # distributed under the License is distributed on an "AS IS" BASIS,
13+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+ # See the License for the specific language governing permissions and
15+ # limitations under the License.
16+
217"""
318Test script to verify BCASL YAML configuration support and ARK integration.
419"""
@@ -30,7 +45,6 @@ def test_ark_config_loader():
3045 assert "plugins" in config , "plugins section missing from loaded config"
3146
3247 print ("✓ ARK configuration loaded successfully" )
33- return True
3448
3549
3650def test_bcasl_yaml_support ():
@@ -53,7 +67,6 @@ def test_bcasl_yaml_support():
5367 else :
5468 print ("⚠ bcasl.yaml not found (this is optional)" )
5569
56- return True
5770
5871
5972def test_bcasl_loader_integration ():
@@ -79,8 +92,6 @@ def test_bcasl_loader_integration():
7992 options = config .get ("options" , {})
8093 assert "enabled" in options , "options.enabled missing"
8194 print (f"✓ BCASL enabled: { options .get ('enabled' , True )} " )
82-
83- return True
8495
8596
8697def test_yaml_priority ():
@@ -114,8 +125,6 @@ def test_yaml_priority():
114125
115126 # The config should have merged with defaults, but YAML should be loaded first
116127 print ("✓ YAML file priority verified" )
117-
118- return True
119128
120129
121130def main ():
0 commit comments