Skip to content

Commit

Permalink
test(plugin): replace mock of tomli with tomlkit
Browse files Browse the repository at this point in the history
  • Loading branch information
pivoshenko committed May 6, 2024
1 parent 4381b66 commit bb2781a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def test_dev_dotenv_file_os_config(


@mock.patch(
"tomli.load",
"tomlkit.load",
return_value={
"tool": {
"poetry": {
Expand Down Expand Up @@ -119,7 +119,7 @@ def test_without_dotenv_file_os_config(

@mock.patch.dict(os.environ, {}, clear=True)
@mock.patch(
"tomli.load",
"tomlkit.load",
return_value={
"tool": {
"poetry": {
Expand Down

0 comments on commit bb2781a

Please sign in to comment.