@@ -61,7 +61,7 @@ def setUp(self):
6161 self .revision_1_custom = Revision .objects .create (
6262 branch = self .branch_custom , commitid = '1' )
6363
64- def test_get_comparisionexes_master_default_branch (self ):
64+ def test_get_comparisonexes_master_default_branch (self ):
6565 # Standard "master" default branch is used
6666 self .project .default_branch = 'master'
6767 self .project .save ()
@@ -100,7 +100,7 @@ def test_get_comparisionexes_master_default_branch(self):
100100 self .assertEqual (exe_keys [0 ], '1+L+master' )
101101 self .assertEqual (exe_keys [1 ], '2+L+master' )
102102
103- def test_get_comparisionexes_custom_default_branch (self ):
103+ def test_get_comparisonexes_custom_default_branch (self ):
104104 # Custom default branch is used
105105 self .project .default_branch = 'custom'
106106 self .project .save ()
@@ -141,7 +141,7 @@ def test_get_comparisionexes_custom_default_branch(self):
141141 self .assertEqual (exe_keys [2 ], '1+L+custom' )
142142 self .assertEqual (exe_keys [3 ], '2+L+custom' )
143143
144- def test_get_comparisionexes_branch_filtering (self ):
144+ def test_get_comparisonexes_branch_filtering (self ):
145145 # branch1 and branch3 have display_on_comparison_page flag set to False
146146 # so they shouldn't be included in the result
147147 branch1 = Branch .objects .create (name = 'branch1' , project = self .project ,
@@ -173,7 +173,7 @@ def test_get_comparisionexes_branch_filtering(self):
173173 for index , exe_key in enumerate (expected_exe_keys ):
174174 self .assertEqual (executables [self .project ][index ]['key' ], exe_key )
175175
176- def test_get_comparisionexes_tag_name_filtering (self ):
176+ def test_get_comparisonexes_tag_name_filtering (self ):
177177 # Insert some mock revisions with tags
178178 rev_v4 = Revision .objects .create (
179179 branch = self .branch_master , commitid = '4' , tag = 'v4.0.0' )
@@ -250,7 +250,7 @@ def test_get_sanitized_executable_name_for_timeline_view(self):
250250 self .assertEqual (name , 'a' * 22 + '...' )
251251
252252 @override_settings (COMPARISON_EXECUTABLE_NAME_MAX_LEN = 20 )
253- def test_get_sanitized_executable_name_for_comparision_view (self ):
253+ def test_get_sanitized_executable_name_for_comparison_view (self ):
254254 executable = Executable (name = 'b' * 20 )
255255 name = get_sanitized_executable_name_for_comparison_view (executable )
256256 self .assertEqual (name , 'b' * 20 )
0 commit comments