Skip to content

Commit

Permalink
Replace whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Bryan Bartley committed Jan 12, 2022
1 parent f59ccf4 commit 7548b56
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions test/test_modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ class TestOntologyToModule(unittest.TestCase):

def setUp(self):
SBOLFactory.clear()
self.maxDiff = None

def tearDown(self):
SBOLFactory.clear()
Expand Down Expand Up @@ -38,9 +39,9 @@ def test_figure_generation(self):
figure_maker.generate(tmp)
dot_source_actual = ''
with open(os.path.join(tmp, 'Activity_abstraction_hierarchy')) as dot_file:
dot_source_actual = dot_file.read()
dot_source_actual = dot_file.read().replace(' ', '')
with open(os.path.join(path, 'Activity_abstraction_hierarchy.dot')) as dot_file:
dot_source_expected = dot_file.read()
dot_source_expected = dot_file.read().replace(' ', '')
self.assertEqual(dot_source_actual, dot_source_expected)

def test_figure_generation2(self):
Expand All @@ -54,9 +55,9 @@ def test_figure_generation2(self):
figure_maker.generate(tmp)
dot_source_actual = ''
with open(os.path.join(tmp, 'Base_abstraction_hierarchy')) as dot_file:
dot_source_actual = dot_file.read()
dot_source_actual = dot_file.read().replace(' ', '')
with open(os.path.join(path, 'Base_abstraction_hierarchy.dot')) as dot_file:
dot_source_expected = dot_file.read()
dot_source_expected = dot_file.read().replace(' ', '')
self.assertEqual(dot_source_actual, dot_source_expected)


Expand Down

0 comments on commit 7548b56

Please sign in to comment.