Skip to content

Commit 46ce281

Browse files
committed
clean up fixture schema
1 parent e1ef44b commit 46ce281

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

st2common/tests/unit/test_config_loader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ def test_get_config_dynamic_config_item_under_additional_properties(self):
557557
self.assertEqual(
558558
config_rendered,
559559
{
560-
"regions": "us-east-1",
560+
"region": "us-east-1",
561561
"profiles": {
562562
"dev": {
563563
"host": "127.0.0.3",

st2tests/st2tests/fixtures/packs/dummy_pack_schema_with_additional_properties_1/config.schema.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
regions:
3-
type: "array"
2+
region:
3+
type: "string"
44
required: false
55
default: "us-east-1"
66
profiles:

0 commit comments

Comments
 (0)