Skip to content

Commit 0ff4492

Browse files
authored
remove deprecated usage of Factory.create_config (#99)
1 parent 2266975 commit 0ff4492

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def config(
9595
c.set_config_source(config_source)
9696
c.set_auth_config_source(auth_config_source)
9797

98-
mocker.patch("poetry.factory.Factory.create_config", return_value=c)
98+
mocker.patch("poetry.config.config.Config.create", return_value=c)
9999
mocker.patch("poetry.config.config.Config.set_config_source")
100100

101101
return c

0 commit comments

Comments
 (0)