jeremiah-c-leary / vhdl-style-guide

Style guide enforcement for VHDL
GNU General Public License v3.0
177 stars 38 forks source link

Running the unit tests leaves behind a file in the root of the repository #1120

Closed JHertz5 closed 5 months ago

JHertz5 commented 5 months ago

Environment

$ ./bin/vsg -v
VHDL Style Guide (VSG) version: 3.20.0.dev16
Git commit SHA: 4ff8b6a0

Describe the bug After running the unit tests, a test file called actual.json is left behind. I have narrowed this down to the test vsg.tests.tool_integration.quality_report.test_main.

To Reproduce Steps to reproduce the behavior:

  1. Run python -m unittest vsg.tests.tool_integration.quality_report.test_main.
  2. Observe that a new file, actual.json, is left behind in the root of the repo.

Expected behavior I would expect the test to clean up any temporary files upon completion.

JHertz5 commented 5 months ago

I have raised PR #1121 to resolve this.

jeremiah-c-leary commented 5 months ago

Morning @JHertz5 ,

Thanks for finding this.

I will get this merged to master.

--Jeremy