From eae51967c426cb669d06ccf2bfd6b7ecc6e9a8fc Mon Sep 17 00:00:00 2001 From: Mitsuo Takaki Date: Sun, 24 Feb 2019 22:01:54 -0800 Subject: [PATCH] Fixing the broken test --- tests/test_configuration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_configuration.py b/tests/test_configuration.py index 012aa12..533db2b 100644 --- a/tests/test_configuration.py +++ b/tests/test_configuration.py @@ -37,7 +37,7 @@ class ConfigurationTest(unittest.TestCase): sys.modules['requests'].HTTPError = HTTPError def test_init(self): - self.assertEqual(len(self.configuration.data), 4, 'Number of root elements in config.yml is incorrect') + self.assertEqual(len(self.configuration.data), 3, 'Number of root elements in config.yml is incorrect') self.assertEquals(len(self.configuration.expectations), 3, 'Number of expectations read from file is incorrect') self.assertDictEqual(self.configuration.headers, {'X-Cachet-Token': 'token2'}, 'Header was not set correctly') self.assertEquals(self.configuration.api_url, 'https://demo.cachethq.io/api/v1',