Skip to content

Commit

Permalink
Add blank lines
Browse files Browse the repository at this point in the history
  • Loading branch information
aliphys committed Feb 6, 2024
1 parent 9f6cf87 commit 5275f33
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions compilesketches/tests/test_compilesketches.py
Original file line number Diff line number Diff line change
Expand Up @@ -3183,6 +3183,7 @@ def rev_parse(self):

assert compilesketches.get_head_commit_hash() == expected_hash


# Automated library parsing from the library.properties file
def test_get_dependencies_from_properties_file_with_dependencies():
properties_file = os.path.join(os.getcwd(), "library.properties")
Expand All @@ -3194,6 +3195,7 @@ def test_get_dependencies_from_properties_file_with_dependencies():

assert dependencies == ["Library1", "Library2", "Library3"]


# Empty library.properties file should not return any dependencies
def test_get_dependencies_from_properties_file_without_dependencies():
properties_file = os.path.join(os.getcwd(), "library.properties")
Expand All @@ -3205,6 +3207,7 @@ def test_get_dependencies_from_properties_file_without_dependencies():

assert dependencies == []


# No depends key inside library.properties, should not return any dependencies
def test_get_dependencies_from_properties_file_no_depends_key():
properties_file = os.path.join(os.getcwd(), "library.properties")
Expand All @@ -3216,6 +3219,7 @@ def test_get_dependencies_from_properties_file_no_depends_key():

assert dependencies == []


# dependencies correctly extracted from a properties file within a library
def test_get_library_dependencies_with_properties_file():
library_path = os.path.join(os.getcwd(), "library")
Expand Down

0 comments on commit 5275f33

Please sign in to comment.