Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running test suite leaves a top level folder "a-path-that-will-cause-an-OSError" #1187

Closed
MarkusPiotrowski opened this issue Apr 16, 2023 · 2 comments · Fixed by #1188
Closed
Labels
bug A crash or error in behavior. windows The issue relates to Microsoft Windows support.

Comments

@MarkusPiotrowski
Copy link
Contributor

Describe the bug

Running the test suite on Windows creates a top level folder named "a-path-that-will-cause-an-OSerror", which is not removed after the tests have finished.
E.g.:
D:/
|_ some other folder
|_ briefcase (the dev folder)
|_ a-path-that-will-cause-an-OSError
|_ more folders

Steps to reproduce

  1. Set up a briefcase development environment on Wndows as described here: https://briefcase.readthedocs.io/en/latest/how-to/contribute-code.html
  2. Run tox -e py

Expected behavior

All changes outside the dev folder and the /user/.../AppData/ folders should be reverted

Screenshots

No response

Environment

  • Operating System: Windows 10 Home 21H2
  • Python version: 3.8.8
  • Software versions:
    • Briefcase: 0.3.14.dev151+g27996ba4

Logs


Additional context

No response

@MarkusPiotrowski MarkusPiotrowski added the bug A crash or error in behavior. label Apr 16, 2023
@mhsmith
Copy link
Member

mhsmith commented Apr 16, 2023

I've also noticed this.

@mhsmith mhsmith added the windows The issue relates to Microsoft Windows support. label Apr 16, 2023
@rmartin16
Copy link
Member

Yeah. I've been meaning to fix this; thanks for documenting it. I may put together something today.....there's some other small testing issues I've noticed recently as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A crash or error in behavior. windows The issue relates to Microsoft Windows support.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants