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 4a1c2d3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/test_modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,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 +54,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 4a1c2d3

Please sign in to comment.