forked from LBRYCommunity/lbry-sdk
Remove superfluous test
This commit is contained in:
parent
9b0910767d
commit
34d19c4a72
2 changed files with 1 additions and 6 deletions
|
@ -148,7 +148,7 @@ class MaxKeyFee(Setting[dict]):
|
|||
|
||||
@staticmethod
|
||||
def _parse_list(l):
|
||||
if len(l) == 1 and l[0] == 'null':
|
||||
if l == ['null']:
|
||||
return None
|
||||
assert len(l) == 2, (
|
||||
'Max key fee is made up of either two values: '
|
||||
|
|
|
@ -207,11 +207,6 @@ class ConfigurationTests(unittest.TestCase):
|
|||
c.max_key_fee = None
|
||||
with open(config, 'r') as fd:
|
||||
self.assertEqual(fd.read(), 'max_key_fee: null\n')
|
||||
c = Config.create_from_arguments(
|
||||
types.SimpleNamespace(config=config)
|
||||
)
|
||||
with open(config, 'r') as fd:
|
||||
self.assertEqual(c.max_key_fee, None)
|
||||
|
||||
def test_max_key_fee_from_args(self):
|
||||
parser = argparse.ArgumentParser()
|
||||
|
|
Loading…
Reference in a new issue