@@ -19,7 +19,9 @@ def test_uk_get_variable():
1919
2020def test_uk_get_variable_not_found ():
2121 """Test error handling when variable doesn't exist."""
22- with pytest .raises (ValueError , match = "Variable 'nonexistent_variable' not found" ):
22+ with pytest .raises (
23+ ValueError , match = "Variable 'nonexistent_variable' not found"
24+ ):
2325 uk_latest .get_variable ("nonexistent_variable" )
2426
2527
@@ -31,13 +33,18 @@ def test_uk_get_parameter():
3133 )
3234
3335 assert param is not None
34- assert param .name == "gov.hmrc.income_tax.allowances.personal_allowance.amount"
36+ assert (
37+ param .name
38+ == "gov.hmrc.income_tax.allowances.personal_allowance.amount"
39+ )
3540 assert param .tax_benefit_model_version == uk_latest
3641
3742
3843def test_uk_get_parameter_not_found ():
3944 """Test error handling when parameter doesn't exist."""
40- with pytest .raises (ValueError , match = "Parameter 'nonexistent.parameter' not found" ):
45+ with pytest .raises (
46+ ValueError , match = "Parameter 'nonexistent.parameter' not found"
47+ ):
4148 uk_latest .get_parameter ("nonexistent.parameter" )
4249
4350
@@ -54,7 +61,9 @@ def test_us_get_variable():
5461
5562def test_us_get_variable_not_found ():
5663 """Test error handling when variable doesn't exist."""
57- with pytest .raises (ValueError , match = "Variable 'nonexistent_variable' not found" ):
64+ with pytest .raises (
65+ ValueError , match = "Variable 'nonexistent_variable' not found"
66+ ):
5867 us_latest .get_variable ("nonexistent_variable" )
5968
6069
@@ -72,7 +81,9 @@ def test_us_get_parameter():
7281
7382def test_us_get_parameter_not_found ():
7483 """Test error handling when parameter doesn't exist."""
75- with pytest .raises (ValueError , match = "Parameter 'nonexistent.parameter' not found" ):
84+ with pytest .raises (
85+ ValueError , match = "Parameter 'nonexistent.parameter' not found"
86+ ):
7687 us_latest .get_parameter ("nonexistent.parameter" )
7788
7889
0 commit comments