Skip to content

Commit

Permalink
Pylint fixes
Browse files Browse the repository at this point in the history
Fixed some issues output by pylint in the actions output
  • Loading branch information
ItIsJordan committed Apr 16, 2024
1 parent 14f65e3 commit edcf916
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def test_write_images_multiple_executions(self):
self.assertTrue(modified_time_main < os.path.getmtime(expected_main_file))
self.assertTrue(modified_time_thumbnail < os.path.getmtime(expected_thumbnail_file))

def test_add_additional_resource(self): # pylint: disable=no-self-use
def test_add_additional_resource(self):
"""Test the add_additional_resource function."""
test_table = Table("Some Table")
test_data = [
Expand Down Expand Up @@ -262,7 +262,7 @@ def test_add_additional_resource_license_check(self):

# Create test table and get the test pdf
test_table = Table("Some Table")
some_pdf = "%s/minimal.pdf" % os.path.dirname(__file__)
some_pdf = f"{os.path.dirname(__file__)}/minimal.pdf"

# Set default description, location, copy_file and file_type arguments for a resource file
resource_args = ["Description", some_pdf, True, "Type"]
Expand Down

0 comments on commit edcf916

Please sign in to comment.