File tree Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ def write_style(self, style_dict):
9797 self .repo .write_file ('.clang-format' , content )
9898
9999
100- class CloneRepoMixin (ScriptsRepoMixin ):
100+ class CloneRepoMixin ():
101101 '''
102102 A mixin representing a git repository cloned from this git repository.
103103 '''
@@ -110,7 +110,7 @@ def clone_this_repo(self):
110110 return self .clone_repo (self .this_repo_path ())
111111
112112
113- class SubmoduleMixin (ScriptsRepoMixin ):
113+ class SubmoduleMixin ():
114114 '''
115115 A mixin representing a git repository in which this git repository is added as a submodule.
116116 '''
@@ -128,7 +128,7 @@ def new_repo_with_submodule(self):
128128 return repo
129129
130130
131- class CopiedFilesMixin (ScriptsRepoMixin ):
131+ class CopiedFilesMixin ():
132132 '''
133133 A mixin representing a git repository in which the scripts from this git repository are
134134 directly copied.
Original file line number Diff line number Diff line change 1515 )
1616
1717
18- class FormatTestCaseBase (ScriptsRepoMixin ):
18+ class FormatTestCaseBase ():
1919 '''
2020 Test the apply-format script.
2121 '''
@@ -275,18 +275,21 @@ def test_whole_file(self):
275275
276276
277277class FormatClonedTestCase (CloneRepoMixin ,
278+ ScriptsRepoMixin ,
278279 FormatTestCaseBase ,
279280 unittest .TestCase ):
280281 pass
281282
282283
283284class FormatSubmoduleTestCase (SubmoduleMixin ,
285+ ScriptsRepoMixin ,
284286 FormatTestCaseBase ,
285287 unittest .TestCase ):
286288 pass
287289
288290
289291class FormatCopiedScriptsTestCase (CopiedFilesMixin ,
292+ ScriptsRepoMixin ,
290293 FormatTestCaseBase ,
291294 unittest .TestCase ):
292295 pass
Original file line number Diff line number Diff line change 1818 CopiedFilesMixin ,
1919 )
2020
21- class HookTestCaseBase (ScriptsRepoMixin ):
21+
22+ class HookTestCaseBase ():
2223 '''
2324 Test the git hook script.
2425 '''
@@ -206,18 +207,21 @@ def test_install_from_scripts_dir(self):
206207
207208
208209class HookClonedTestCase (CloneRepoMixin ,
210+ ScriptsRepoMixin ,
209211 HookTestCaseBase ,
210212 unittest .TestCase ):
211213 pass
212214
213215
214216class HookSubmoduleTestCase (SubmoduleMixin ,
217+ ScriptsRepoMixin ,
215218 HookTestCaseBase ,
216219 unittest .TestCase ):
217220 pass
218221
219222
220223class HookCopiedScriptsTestCase (CopiedFilesMixin ,
224+ ScriptsRepoMixin ,
221225 HookTestCaseBase ,
222226 unittest .TestCase ):
223227 pass
You can’t perform that action at this time.
0 commit comments