Run TestProcessConfig and TestLogger only on Travis CI xenial:

state.appdata confused ignoring BITMESSAGE_HOME env
This commit is contained in:
Dmitri Bogomolov 2020-02-19 17:05:34 +02:00
parent ec922adb36
commit f21d0e6bd8
Signed by untrusted user: g1itch
GPG Key ID: 720A756F18DEED13
2 changed files with 2 additions and 0 deletions

View File

@ -39,6 +39,7 @@ class TestConfig(unittest.TestCase):
BMConfigParser().safeGetInt('nonexistent', 'nonexistent', 42), 42)
@unittest.skipUnless(os.getenv('TRAVIS_DIST') == 'xenial', 'appdata confusion')
class TestProcessConfig(TestProcessProto):
"""A test case for keys.dat"""

View File

@ -8,6 +8,7 @@ import tempfile
import unittest
@unittest.skipUnless(os.getenv('TRAVIS_DIST') == 'xenial', 'appdata confusion')
class TestLogger(unittest.TestCase):
"""A test case for bmconfigparser"""