diff --git a/src/pylorax/api/toml.py b/src/pylorax/api/toml.py index cbe912ab..9af568a9 100644 --- a/src/pylorax/api/toml.py +++ b/src/pylorax/api/toml.py @@ -29,4 +29,5 @@ def loads(s): raise TomlError(e.msg, e.doc, e.pos) def dumps(o): - return toml.dumps(o, encoder=toml.TomlEncoder(dict)) + # strip the result, because `toml.dumps` adds a lot of newlines + return toml.dumps(o, encoder=toml.TomlEncoder(dict)).strip() diff --git a/tests/cli/test_blueprints_sanity.sh b/tests/cli/test_blueprints_sanity.sh index ff50bd0d..a6bef801 100755 --- a/tests/cli/test_blueprints_sanity.sh +++ b/tests/cli/test_blueprints_sanity.sh @@ -36,7 +36,6 @@ description = "Start building tests with beakerlib." version = "0.0.1" modules = [] groups = [] - [[packages]] name = "beakerlib" version = "*"