From c177b29f019c0f5ae7aa12b551bdc6d8eb773d6f Mon Sep 17 00:00:00 2001 From: xrotwang Date: Thu, 6 Nov 2014 11:16:31 +0100 Subject: [PATCH] fixed flake8 compliance --- test/test_freeze_config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_freeze_config.py b/test/test_freeze_config.py index 0ab1d8c..096a10e 100644 --- a/test/test_freeze_config.py +++ b/test/test_freeze_config.py @@ -11,6 +11,7 @@ class TestConfiguration(unittest.TestCase): self.assertRaises(FreezeException, Configuration, 'x.x') self.assertRaises(FreezeException, Configuration, __file__) cfg = Configuration(os.path.join(os.path.dirname(__file__), 'Freezefile.yaml')) + assert cfg def test_exports(self): from dataset.freeze.config import Configuration @@ -23,7 +24,7 @@ class TestConfiguration(unittest.TestCase): self.assertEqual(exports[0].get_int('nan', 'default'), 'default') self.assertEqual(exports[0].get_int('number'), 5) self.assert_(exports[0].name) - + def test_exports_fail(self): from dataset.freeze.config import Configuration @@ -32,4 +33,3 @@ class TestConfiguration(unittest.TestCase): self.assertRaises(FreezeException, list, cfg.exports) cfg.data = {} self.assertRaises(FreezeException, list, cfg.exports) -