Fix imports

This commit is contained in:
Alex Liebowitz 2016-10-14 16:15:51 -04:00
parent b67b4b2ef6
commit b5a3929bb5
2 changed files with 2 additions and 3 deletions

View file

@ -1,7 +1,6 @@
import logging import logging
from lbrynet.metadata.StructuredDict import StructuredDict from lbrynet.metadata.StructuredDict import StructuredDict
from lbrynet.conf import SOURCE_TYPES
import metadata_schemas import metadata_schemas
log = logging.getLogger(__name__) log = logging.getLogger(__name__)

View file

@ -1,5 +1,5 @@
import mock import mock
from lbrynet.metadata import Metadata from lbrynet.metadata import Fee
from lbrynet.lbrynet_daemon import ExchangeRateManager from lbrynet.lbrynet_daemon import ExchangeRateManager
from twisted.trial import unittest from twisted.trial import unittest
@ -13,7 +13,7 @@ class FeeFormatTest(unittest.TestCase):
'address': "bRcHraa8bYJZL7vkh5sNmGwPDERFUjGPP9" 'address': "bRcHraa8bYJZL7vkh5sNmGwPDERFUjGPP9"
} }
} }
fee = Metadata.FeeValidator(fee_dict) fee = Fee.FeeValidator(fee_dict)
self.assertEqual(10.0, fee['USD']['amount']) self.assertEqual(10.0, fee['USD']['amount'])