Skip to content

Commit 6ed7366

Browse files
committed
Fix tests
1 parent ad9e34b commit 6ed7366

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/test_source_json.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818

1919
def test_repr() -> None:
20-
source = JsonConfigSettingsSource(BaseSettings(), Path('config.json'))
20+
source = JsonConfigSettingsSource(BaseSettings, Path('config.json'))
2121
assert repr(source) == 'JsonConfigSettingsSource(json_file=config.json)'
2222

2323

tests/test_source_toml.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323

2424
def test_repr() -> None:
25-
source = TomlConfigSettingsSource(BaseSettings(), Path('config.toml'))
25+
source = TomlConfigSettingsSource(BaseSettings, Path('config.toml'))
2626
assert repr(source) == 'TomlConfigSettingsSource(toml_file=config.toml)'
2727

2828

tests/test_source_yaml.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323

2424
def test_repr() -> None:
25-
source = YamlConfigSettingsSource(BaseSettings(), Path('config.yaml'))
25+
source = YamlConfigSettingsSource(BaseSettings, Path('config.yaml'))
2626
assert repr(source) == 'YamlConfigSettingsSource(yaml_file=config.yaml)'
2727

2828

0 commit comments

Comments
 (0)