ceph / merfi

Finds and signs files with different signing tools (gpg, rpm-sign)
MIT License
3 stars 3 forks source link

tests: simplify tree fixtures #51

Closed ktdreyer closed 7 years ago

ktdreyer commented 7 years ago

The deb_repotree fixture was going to the work of os.path.join() to select "jewel" every time, and then we had further code in the nested tests to undo that work (with os.path.dirname()).

Simplify this by returning the parent dir directly in the fixture, and picking "jewel" only for the tests that need it.