Skip to content

Commit

Permalink
SVGLint should be fixed; add the test back.
Browse files Browse the repository at this point in the history
  • Loading branch information
luciansmith committed Apr 7, 2023
1 parent 7c0f144 commit 729a9a9
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions tests/test_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,16 +272,16 @@ def test_validate_sedml_file_with_execution(self):
self.assertIn("could not execute the archive", flatten_nested_list_of_strings(errors))
self.assertNotEqual(warnings, [])

# def test_validate_svg_file(self):
# filename = os.path.join(self.FIXTURE_DIRNAME, 'BIOMD0000000692', 'BIOMD0000000692.svg')
# errors, warnings = validation.validate_svg_file(filename)
# self.assertEqual(errors, [])
# self.assertEqual(warnings, [])

# png_filename = os.path.join(self.FIXTURE_DIRNAME, 'BIOMD0000000692', 'BIOMD0000000692.png')
# errors, warnings = validation.validate_svg_file(png_filename)
# self.assertNotEqual(errors, [])
# self.assertEqual(warnings, [])
def test_validate_svg_file(self):
filename = os.path.join(self.FIXTURE_DIRNAME, 'BIOMD0000000692', 'BIOMD0000000692.svg')
errors, warnings = validation.validate_svg_file(filename)
self.assertEqual(errors, [])
self.assertEqual(warnings, [])

png_filename = os.path.join(self.FIXTURE_DIRNAME, 'BIOMD0000000692', 'BIOMD0000000692.png')
errors, warnings = validation.validate_svg_file(png_filename)
self.assertNotEqual(errors, [])
self.assertEqual(warnings, [])

def test_validate_vcml_file(self):
filename = os.path.join(self.FIXTURE_DIRNAME, 'BIOMD0000000001', 'BIOMD0000000001.vcml')
Expand Down

0 comments on commit 729a9a9

Please sign in to comment.