1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-19 21:30:10 +01:00

tame verbose logging in index tests by default

This commit is contained in:
Hans-Christoph Steiner 2023-03-08 17:30:46 +01:00
parent f3e49f4bcb
commit b1f482009a
No known key found for this signature in database
GPG Key ID: 3E177817BA1B9BFA

View File

@ -52,7 +52,7 @@ class IndexTest(unittest.TestCase):
cls.index_v1_jar = os.path.join(cls.basedir, 'repo', 'index-v1.jar') cls.index_v1_jar = os.path.join(cls.basedir, 'repo', 'index-v1.jar')
def setUp(self): def setUp(self):
logging.basicConfig(level=logging.DEBUG) logging.basicConfig(level=logging.ERROR)
os.chmod(os.path.join(self.basedir, 'config.py'), 0o600) os.chmod(os.path.join(self.basedir, 'config.py'), 0o600)
os.chdir(self.basedir) # so read_config() can find config.py os.chdir(self.basedir) # so read_config() can find config.py