While not technically incorrect, the above 12 lines are rather hard to read, and don't strictly adhere to the separation of concerns principle. They can easily be replaced with e. g. ``@pytest.mark.parametrize`` decorator over a two-line test method that makes assertions about the ``ConfigManager``'s contents, and a separate method testing if given contents are correctly written to the config file. The latter method would then make no assertions about the ``ConfigManager``.