Skip to content

Commit 4a1c2d3

Browse files
author
Bryan Bartley
committed
Replace whitespace
1 parent f59ccf4 commit 4a1c2d3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/test_modules.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ def test_figure_generation(self):
3838
figure_maker.generate(tmp)
3939
dot_source_actual = ''
4040
with open(os.path.join(tmp, 'Activity_abstraction_hierarchy')) as dot_file:
41-
dot_source_actual = dot_file.read()
41+
dot_source_actual = dot_file.read().replace(' ', '')
4242
with open(os.path.join(path, 'Activity_abstraction_hierarchy.dot')) as dot_file:
43-
dot_source_expected = dot_file.read()
43+
dot_source_expected = dot_file.read().replace(' ', '')
4444
self.assertEqual(dot_source_actual, dot_source_expected)
4545

4646
def test_figure_generation2(self):
@@ -54,9 +54,9 @@ def test_figure_generation2(self):
5454
figure_maker.generate(tmp)
5555
dot_source_actual = ''
5656
with open(os.path.join(tmp, 'Base_abstraction_hierarchy')) as dot_file:
57-
dot_source_actual = dot_file.read()
57+
dot_source_actual = dot_file.read().replace(' ', '')
5858
with open(os.path.join(path, 'Base_abstraction_hierarchy.dot')) as dot_file:
59-
dot_source_expected = dot_file.read()
59+
dot_source_expected = dot_file.read().replace(' ', '')
6060
self.assertEqual(dot_source_actual, dot_source_expected)
6161

6262

0 commit comments

Comments
 (0)