commit | 6bc017c2b15fca491a9a66f9445f38baaa7b1a26 | [log] [tgz] |
---|---|---|
author | Matteo Scandolo <matteo.scandolo@gmail.com> | Thu May 25 18:37:42 2017 -0700 |
committer | Matteo Scandolo <matteo.scandolo@gmail.com> | Fri May 26 16:17:43 2017 -0700 |
tree | 0fee2a5b26f0fc04874fcdc9e3ec62019bd54dd7 | |
parent | 5769d936bccb10cb1a40a30414a88623c7c1e90a [diff] |
[CORD-1358] Replacing config module in settings.py Change-Id: I834e189ac7132f2164277785885ee01078a7aa84
diff --git a/lib/xos-config/tests/config_test.py b/lib/xos-config/tests/config_test.py index c89ed47..a3e57db 100644 --- a/lib/xos-config/tests/config_test.py +++ b/lib/xos-config/tests/config_test.py
@@ -126,6 +126,7 @@ # not only from the one that has been used to initialize it res = Config2.get("database") self.assertEqual(res, { + "name": "xos", "username": "test", "password": "safe" })
diff --git a/lib/xos-config/tests/confs/basic_conf.yaml b/lib/xos-config/tests/confs/basic_conf.yaml index 0f1d0b0..4337b6c 100644 --- a/lib/xos-config/tests/confs/basic_conf.yaml +++ b/lib/xos-config/tests/confs/basic_conf.yaml
@@ -1,4 +1,5 @@ name: test database: + name: xos username: test password: safe \ No newline at end of file
diff --git a/lib/xos-config/tests/confs/sample_conf.yaml b/lib/xos-config/tests/confs/sample_conf.yaml index b398b40..4d4c792 100644 --- a/lib/xos-config/tests/confs/sample_conf.yaml +++ b/lib/xos-config/tests/confs/sample_conf.yaml
@@ -1,5 +1,6 @@ name: xos-core database: + name: xos username: test password: safe logging: