Skip to content

Commit

Permalink
Cleanup library.properties from previous test
Browse files Browse the repository at this point in the history
  • Loading branch information
aliphys committed Feb 6, 2024
1 parent dc0e8ee commit 6ed3f23
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions compilesketches/tests/test_compilesketches.py
Original file line number Diff line number Diff line change
Expand Up @@ -3233,6 +3233,9 @@ def test_get_library_dependencies_with_properties_file():
def test_get_library_dependencies_without_properties_file():
library_path = os.path.join(os.getcwd(), "library")
os.makedirs(library_path, exist_ok=True)
properties_file = os.path.join(library_path, "library.properties")
if os.path.exists(properties_file):
os.remove(properties_file) # properties file is removed

compilesketches_object = get_compilesketches_object()
dependencies = compilesketches_object.get_library_dependencies(library_path)
Expand Down

0 comments on commit 6ed3f23

Please sign in to comment.