@@ -56,7 +56,7 @@ def test_Submodule_str(self):
5656 path = 'include/test_submodule'
5757 )
5858 self .assertEqual (
59- "<class 'Submodule '> => {"
59+ "<class 'GitmodulesSubmodule '> => {"
6060 "'name': 'test_submodule', "
6161 "'parent_project': <class 'DictMock'> => {'id': 123456789}, "
6262 "'parent_ref': 'main', "
@@ -76,8 +76,8 @@ def test_Submodule_repr(self):
7676 path = 'include/test_submodule'
7777 )
7878 self .assertEqual (
79- "Submodule ({'id': 123456789}, 'main', 'test_submodule', "
80- "'include/test_submodule', 'git@gitlab.com:test/submodule')" ,
79+ "GitmodulesSubmodule ({'id': 123456789}, 'main', 'test_submodule',"
80+ " 'include/test_submodule', 'git@gitlab.com:test/submodule')" ,
8181 repr (submodule )
8282 )
8383
@@ -171,14 +171,13 @@ def test_ProjectSubmodule_str(self):
171171 project_submodule = ProjectSubmodule (
172172 submodule , mock_project , mock_commit , commit_is_exact = True )
173173
174- print ( str (project_submodule ))
175174 str_lines = str (project_submodule ).split ('\n ' )
176175 self .assertEqual (
177176 "<class 'ProjectSubmodule'> => {" ,
178177 str_lines [0 ]
179178 )
180179 self .assertEqual (
181- " 'submodule': <class 'Submodule '> => {"
180+ " 'submodule': <class 'GitmodulesSubmodule '> => {"
182181 "'name': 'test_submodule', "
183182 "'parent_project': <class 'DictMock'> => {'id': '123456789'}, "
184183 "'parent_ref': 'main', "
@@ -224,8 +223,9 @@ def test_ProjectSubmodule_repr(self):
224223 str_lines [0 ]
225224 )
226225 self .assertEqual (
227- " Submodule ({'id': '123456789'}, 'main', 'test_submodule', "
228- "'include/test_submodule', 'git@gitlab.com:test/submodule')," ,
226+ " GitmodulesSubmodule ({'id': '123456789'}, 'main', "
227+ "'test_submodule', 'include/test_submodule', "
228+ "'git@gitlab.com:test/submodule')," ,
229229 str_lines [1 ]
230230 )
231231 self .assertEqual (
0 commit comments