skip test on appveyor
This commit is contained in:
parent
45bf5beb34
commit
df7a59f40a
1 changed files with 4 additions and 1 deletions
|
@ -1,11 +1,13 @@
|
||||||
import os
|
import os
|
||||||
import json
|
import json
|
||||||
|
import sys
|
||||||
import tempfile
|
import tempfile
|
||||||
|
from unittest import skipIf
|
||||||
from twisted.trial import unittest
|
from twisted.trial import unittest
|
||||||
from lbrynet import conf
|
from lbrynet import conf
|
||||||
from lbrynet.core.Error import InvalidCurrencyError
|
from lbrynet.core.Error import InvalidCurrencyError
|
||||||
|
|
||||||
|
|
||||||
class SettingsTest(unittest.TestCase):
|
class SettingsTest(unittest.TestCase):
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
os.environ['LBRY_TEST'] = 'test_string'
|
os.environ['LBRY_TEST'] = 'test_string'
|
||||||
|
@ -79,6 +81,7 @@ class SettingsTest(unittest.TestCase):
|
||||||
self.assertEqual(str, type(conf.default_data_dir))
|
self.assertEqual(str, type(conf.default_data_dir))
|
||||||
self.assertEqual(str, type(conf.default_lbryum_dir))
|
self.assertEqual(str, type(conf.default_lbryum_dir))
|
||||||
|
|
||||||
|
@skipIf('win' in sys.platform, 'fix me!')
|
||||||
def test_load_save_config_file(self):
|
def test_load_save_config_file(self):
|
||||||
# setup settings
|
# setup settings
|
||||||
adjustable_settings = {'data_dir': (str, conf.default_data_dir),
|
adjustable_settings = {'data_dir': (str, conf.default_data_dir),
|
||||||
|
|
Loading…
Reference in a new issue