COVESA / vss-tools

Software for working with VSS (https://github.com/COVESA/vehicle_signal_specification)
Mozilla Public License 2.0
49 stars 51 forks source link

backwards compatibility test doesn't clean up generated files #353

Closed nwesem closed 1 month ago

nwesem commented 2 months ago

Just a minor change but we could clean up the generated files in the compatibility tests after they ran using a fixture like this:

@pytest.fixture(scope="function", autouse=True)
def delete_files(change_test_dir):
    yield None
    os.system("rm -f out.json out.txt")
erikbosch commented 2 months ago

Great proposal. Feel free to create a PR or add a commit to an existing one.