From 45f0d1cc39329d11aea261ac36fb92a092f90181 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ricks?= Date: Fri, 5 May 2023 10:44:46 +0200 Subject: [PATCH] Fix: Update tests for tomlkit 0.11.8 changes Adjust tests for the changed behavior in tomlkit 0.11.8. --- tests/test_settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_settings.py b/tests/test_settings.py index dfe890ea..7695bedb 100644 --- a/tests/test_settings.py +++ b/tests/test_settings.py @@ -123,9 +123,9 @@ def test_save_empty_override(self): expected = """ [tool.autohooks] pre-commit = [] -mode = "pythonpath" plugins.foo.bar = 'ipsum' plugins.foo.lorem = 'dolor' +mode = "pythonpath" [tool.autohooks.plugins.bar] foo = 'bar' @@ -143,9 +143,9 @@ def test_save_override(self): expected = """ [tool.autohooks] pre-commit = ["a", "b"] -mode = "poetry" plugins.foo.bar = 'ipsum' plugins.foo.lorem = 'dolor' +mode = "poetry" [tool.autohooks.plugins.bar] foo = 'bar'