diff options
Diffstat (limited to 'bitbake/lib/bb/tests/fetch.py')
-rw-r--r-- | bitbake/lib/bb/tests/fetch.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/bitbake/lib/bb/tests/fetch.py b/bitbake/lib/bb/tests/fetch.py index a09c414ad8..18e585721c 100644 --- a/bitbake/lib/bb/tests/fetch.py +++ b/bitbake/lib/bb/tests/fetch.py | |||
@@ -2806,15 +2806,6 @@ class GitSharedTest(FetcherTest): | |||
2806 | 2806 | ||
2807 | class FetchPremirroronlyLocalTest(FetcherTest): | 2807 | class FetchPremirroronlyLocalTest(FetcherTest): |
2808 | 2808 | ||
2809 | def git(self, cmd, cwd=None): | ||
2810 | if isinstance(cmd, str): | ||
2811 | cmd = 'git ' + cmd | ||
2812 | else: | ||
2813 | cmd = ['git'] + cmd | ||
2814 | if cwd is None: | ||
2815 | cwd = self.gitdir | ||
2816 | return bb.process.run(cmd, cwd=cwd)[0] | ||
2817 | |||
2818 | def setUp(self): | 2809 | def setUp(self): |
2819 | super(FetchPremirroronlyLocalTest, self).setUp() | 2810 | super(FetchPremirroronlyLocalTest, self).setUp() |
2820 | self.mirrordir = os.path.join(self.tempdir, "mirrors") | 2811 | self.mirrordir = os.path.join(self.tempdir, "mirrors") |