fixed flake8 compliance

This commit is contained in:
xrotwang 2014-11-06 11:16:31 +01:00
parent 5b7908893d
commit c177b29f01

View File

@ -11,6 +11,7 @@ class TestConfiguration(unittest.TestCase):
self.assertRaises(FreezeException, Configuration, 'x.x') self.assertRaises(FreezeException, Configuration, 'x.x')
self.assertRaises(FreezeException, Configuration, __file__) self.assertRaises(FreezeException, Configuration, __file__)
cfg = Configuration(os.path.join(os.path.dirname(__file__), 'Freezefile.yaml')) cfg = Configuration(os.path.join(os.path.dirname(__file__), 'Freezefile.yaml'))
assert cfg
def test_exports(self): def test_exports(self):
from dataset.freeze.config import Configuration from dataset.freeze.config import Configuration
@ -32,4 +33,3 @@ class TestConfiguration(unittest.TestCase):
self.assertRaises(FreezeException, list, cfg.exports) self.assertRaises(FreezeException, list, cfg.exports)
cfg.data = {} cfg.data = {}
self.assertRaises(FreezeException, list, cfg.exports) self.assertRaises(FreezeException, list, cfg.exports)