File tree Expand file tree Collapse file tree 8 files changed +8
-8
lines changed Expand file tree Collapse file tree 8 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ class BaseTestForMakeRecipe(RecipeCtx):
27
27
"""
28
28
29
29
def __new__ (cls , * args ):
30
- obj = super (BaseTestForMakeRecipe , cls ).__new__ (cls )
30
+ obj = super ().__new__ (cls )
31
31
if obj .recipe_name is not None :
32
32
print (f"We are testing recipe: { obj .recipe_name } " )
33
33
obj .recipes .append (obj .recipe_name )
Original file line number Diff line number Diff line change @@ -24,6 +24,6 @@ def test_build_arch(
24
24
):
25
25
# We overwrite the base test method because we
26
26
# want to avoid any file/directory creation
27
- super (TestLibgeosRecipe , self ).test_build_arch ()
27
+ super ().test_build_arch ()
28
28
# make sure that the mocked methods are actually called
29
29
mock_makedirs .assert_called ()
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ def test_build_arch(
26
26
):
27
27
# We overwrite the base test method because we need
28
28
# to mock a little more (`sh.cp` and `sh.rm`)
29
- super (TestLibmysqlclientRecipe , self ).test_build_arch ()
29
+ super ().test_build_arch ()
30
30
# make sure that the mocked methods are actually called
31
31
mock_sh_cp .assert_called ()
32
32
mock_sh_rm .assert_called ()
Original file line number Diff line number Diff line change @@ -25,6 +25,6 @@ def test_build_arch(
25
25
):
26
26
# We overwrite the base test method because we need to mock a little
27
27
# more with this recipe (`sh.cp`)
28
- super (TestLibpqRecipe , self ).test_build_arch ()
28
+ super ().test_build_arch ()
29
29
# make sure that the mocked methods are actually called
30
30
mock_sh_cp .assert_called ()
Original file line number Diff line number Diff line change @@ -26,6 +26,6 @@ def test_build_arch(
26
26
):
27
27
# We overwrite the base test method because we need to mock a little
28
28
# more with this recipe (`sh.cp`)
29
- super (TestLibvorbisRecipe , self ).test_build_arch ()
29
+ super ().test_build_arch ()
30
30
# make sure that the mocked methods are actually called
31
31
mock_sh_cp .assert_called ()
Original file line number Diff line number Diff line change @@ -57,6 +57,6 @@ def test_build_arch(
57
57
):
58
58
# We overwrite the base test method because we need to mock a little
59
59
# more with this recipe (`sh.cp` and `sh.rm`)
60
- super (TestOpenalRecipe , self ).test_build_arch ()
60
+ super ().test_build_arch ()
61
61
# make sure that the mocked methods are actually called
62
62
mock_sh_cp .assert_called ()
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ def test_build_arch(
26
26
):
27
27
# We overwrite the base test method because we need to mock a little
28
28
# more with this recipe (`sh.cp` and `sh.rm`)
29
- super (TestOpensslRecipe , self ).test_build_arch ()
29
+ super ().test_build_arch ()
30
30
# make sure that the mocked methods are actually called
31
31
mock_sh_patch .assert_called ()
32
32
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ def setUp(self):
12
12
"""
13
13
Setups recipe and context.
14
14
"""
15
- super (TestReportLabRecipe , self ).setUp ()
15
+ super ().setUp ()
16
16
self .recipe_dir = self .recipe .get_build_dir (self .arch .arch )
17
17
ensure_dir (self .recipe_dir )
18
18
You can’t perform that action at this time.
0 commit comments