File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments