mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-04 14:30:30 +03:00
checkupdates: skip test_get_upstream_main_branch on macOS
This test checks the detection of the default initial branch. It is a hard thing to test since different platform configurations have different defaults. checkupdates is basically only used on GNU/Linux anyway. Here's the failure: https://gitlab.com/fdroid/fdroidserver/-/jobs/8896420261
This commit is contained in:
parent
594099a10c
commit
9b5a67340e
1 changed files with 5 additions and 0 deletions
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
import git
|
||||
import os
|
||||
import platform
|
||||
import shutil
|
||||
import tempfile
|
||||
import time
|
||||
|
|
@ -490,6 +491,10 @@ class CheckupdatesTest(unittest.TestCase):
|
|||
fdroidserver.checkupdates.main()
|
||||
sys_exit.assert_not_called()
|
||||
|
||||
@unittest.skipIf(
|
||||
platform.system() == 'Darwin',
|
||||
'It is difficult to configure the base system for this test.',
|
||||
)
|
||||
def test_get_upstream_main_branch(self):
|
||||
os.chdir(self.testdir.name)
|
||||
testvalue = 'foo'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue