diff --git a/support/testing/infra/basetest.py b/support/testing/infra/basetest.py index 12d96415da..1ae6232da8 100644 --- a/support/testing/infra/basetest.py +++ b/support/testing/infra/basetest.py @@ -37,6 +37,7 @@ class BRConfigTest(unittest.TestCase): super(BRConfigTest, self).__init__(names) self.testname = self.__class__.__name__ self.builddir = self.outputdir and os.path.join(self.outputdir, self.testname) + self.config += '\nBR2_BACKUP_SITE=""\n' self.config += '\nBR2_DL_DIR="{}"\n'.format(self.downloaddir) self.config += "\nBR2_JLEVEL={}\n".format(self.jlevel) diff --git a/support/testing/tests/download/test_git.py b/support/testing/tests/download/test_git.py index ba52e03ef5..3cf98f6456 100644 --- a/support/testing/tests/download/test_git.py +++ b/support/testing/tests/download/test_git.py @@ -7,10 +7,7 @@ import infra class GitTestBase(infra.basetest.BRConfigTest): - config = \ - """ - BR2_BACKUP_SITE="" - """ + config = "" gitremotedir = infra.filepath("tests/download/git-remote") gitremote = None diff --git a/support/testing/tests/download/test_gitforge.py b/support/testing/tests/download/test_gitforge.py index e1ac35ec67..477c365a34 100644 --- a/support/testing/tests/download/test_gitforge.py +++ b/support/testing/tests/download/test_gitforge.py @@ -5,10 +5,7 @@ import infra class GitforgeTestBase(infra.basetest.BRConfigTest): - config = \ - """ - BR2_BACKUP_SITE="" - """ + config = "" def setUp(self): super(GitforgeTestBase, self).setUp() diff --git a/support/testing/tests/download/test_ssh.py b/support/testing/tests/download/test_ssh.py index 126002a355..7d6ac3aaf7 100644 --- a/support/testing/tests/download/test_ssh.py +++ b/support/testing/tests/download/test_ssh.py @@ -7,9 +7,7 @@ import infra class SSHTestBase(infra.basetest.BRConfigTest): - config = infra.basetest.MINIMAL_CONFIG + ''' -BR2_BACKUP_SITE="" -''' + config = infra.basetest.MINIMAL_CONFIG sshd_test_dir = infra.filepath("tests/download/sshd") sshd = None diff --git a/support/testing/tests/package/test_rust.py b/support/testing/tests/package/test_rust.py index 763125ca20..8160cb6053 100644 --- a/support/testing/tests/package/test_rust.py +++ b/support/testing/tests/package/test_rust.py @@ -70,7 +70,6 @@ class TestRustVendoring(infra.basetest.BRConfigTest): BR2_PACKAGE_RIPGREP=y BR2_PACKAGE_PYTHON3=y BR2_PACKAGE_PYTHON_CRYPTOGRAPHY=y - BR2_BACKUP_SITE="" """ def setUp(self):